mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
use ev->same_screen var
This commit is contained in:
parent
7d4747155a
commit
d09d3ccafd
1 changed files with 1 additions and 1 deletions
2
event.c
2
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue