From d09d3ccafdf6064b2e0f4abdbcd42b38cab0b36c Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 11 Jan 2008 11:57:43 +0100 Subject: [PATCH] use ev->same_screen var --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.c b/event.c index 09a02f9e..6c091124 100644 --- a/event.c +++ b/event.c @@ -251,7 +251,7 @@ handle_event_enternotify(XEvent * e) { for(screen = 0; screen < ScreenCount(e->xany.display); screen++) if(ev->window == RootWindow(e->xany.display, screen)) - focus(NULL, True, screen); + focus(NULL, ev->same_screen, screen); if((c = globalconf.focus->client)) window_grabbuttons(c->screen, c->win, False, False); }