From d10036a366bf412c1ab6fc55f5a5714f7ce6f451 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 6 Mar 2008 16:09:38 +0100 Subject: [PATCH] Remove useless call to get_phys_screen() in grabkeys() screen is already a physical screen since we use ScreenCount() --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.c b/event.c index fb5b1437..49a3d378 100644 --- a/event.c +++ b/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