From 6ad47ab7a1880d92f7b8b36722a424dd841025eb 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'screen.c') diff --git a/screen.c b/screen.c index 9769fee..dbb8036 100644 --- a/screen.c +++ b/screen.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: screen.c,v 1.64 2014/08/24 15:37:45 okan Exp $ + * $OpenBSD: screen.c,v 1.65 2014/09/07 17:38:38 okan Exp $ */ #include @@ -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 v1.2.3-2-gb3c3