mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
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
1 changed files with 1 additions and 1 deletions
2
event.c
2
event.c
|
@ -360,7 +360,7 @@ event_handle_mappingnotify(XEvent *e)
|
|||
XRefreshKeyboardMapping(ev);
|
||||
if(ev->request == MappingKeyboard)
|
||||
for(screen = 0; screen < ScreenCount(e->xany.display); screen++)
|
||||
grabkeys(get_phys_screen(screen));
|
||||
grabkeys(screen);
|
||||
}
|
||||
|
||||
/** Handle XMapRequest events
|
||||
|
|
Loading…
Reference in a new issue