]> Dogcows Code - chaz/openbox/commitdiff
code clean up
authorDana Jansens <danakj@orodu.net>
Fri, 11 Jan 2008 18:06:37 +0000 (13:06 -0500)
committerDana Jansens <danakj@orodu.net>
Fri, 11 Jan 2008 18:06:37 +0000 (13:06 -0500)
openbox/event.c

index 0c97bd9388461585b98d98236b69bd17df9085d2..e3214a7a1bd768a9b8d0abe01d0d41fa58ee1be5 100644 (file)
@@ -264,10 +264,8 @@ static void event_hack_mods(XEvent *e)
         /* If XKB is present, then the modifiers are all strange from its
            magic.  Our X core protocol stuff won't work, so we use this to
            find what the modifier state is instead. */
-        if (XkbGetState(ob_display, XkbUseCoreKbd, &xkb_state) == Success) {
+        if (XkbGetState(ob_display, XkbUseCoreKbd, &xkb_state) == Success)
             e->xkey.state = xkb_state.compat_state;
-            break;
-        }
         else
 #endif
         {
This page took 0.029836 seconds and 4 git commands to generate.