summary refs log tree commit diff
path: root/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/screen.c b/screen.c
index 2335d63..a81f0b6 100644
--- a/screen.c
+++ b/screen.c
@@ -79,12 +79,12 @@ screen_init(int which)
 }
 
 struct screen_ctx *
-screen_fromroot(Window rootwin)
+screen_find(Window win)
 {
 	struct screen_ctx	*sc;
 
 	TAILQ_FOREACH(sc, &Screenq, entry)
-		if (sc->rootwin == rootwin)
+		if (sc->rootwin == win)
 			return (sc);
 
 	/* XXX FAIL HERE */