From be091b35236438d578782c7d5711a512451f302b Mon Sep 17 00:00:00 2001 From: okan Date: Sun, 7 Sep 2014 17:38:38 +0000 Subject: screen_fromroot -> screen_find --- screen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'screen.c') 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 */ -- cgit 1.4.1