Remove useless call to get_phys_screen() in grabkeys()

screen is already a physical screen since we use ScreenCount()
This commit is contained in:
Julien Danjou 2008-03-06 16:09:38 +01:00
parent fcf086ec08
commit d10036a366
1 changed files with 1 additions and 1 deletions

View File

@ -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