Remove useless call to get_phys_screen() in grabkeys()
screen is already a physical screen since we use ScreenCount()
This commit is contained in:
parent
fcf086ec08
commit
d10036a366
2
event.c
2
event.c
|
@ -360,7 +360,7 @@ event_handle_mappingnotify(XEvent *e)
|
||||||
XRefreshKeyboardMapping(ev);
|
XRefreshKeyboardMapping(ev);
|
||||||
if(ev->request == MappingKeyboard)
|
if(ev->request == MappingKeyboard)
|
||||||
for(screen = 0; screen < ScreenCount(e->xany.display); screen++)
|
for(screen = 0; screen < ScreenCount(e->xany.display); screen++)
|
||||||
grabkeys(get_phys_screen(screen));
|
grabkeys(screen);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Handle XMapRequest events
|
/** Handle XMapRequest events
|
||||||
|
|
Loading…
Reference in New Issue