]> Dogcows Code - chaz/openbox/commitdiff
remove mysterious xkb code...
authorDana Jansens <danakj@orodu.net>
Sat, 21 Jul 2007 13:52:43 +0000 (09:52 -0400)
committerDana Jansens <danakj@orodu.net>
Sat, 21 Jul 2007 13:52:43 +0000 (09:52 -0400)
openbox/event.c

index c6bf6dfe1d55e40a89152373f63c49c0ee2266f3..7e31b6dc014926b3760b6f6759d66b3ac66a82fa 100644 (file)
@@ -257,12 +257,6 @@ static void event_hack_mods(XEvent *e)
         break;
     case KeyRelease:
         e->xkey.state = modkeys_only_modifier_masks(e->xkey.state);
-#ifdef XKB
-        if (XkbGetState(ob_display, XkbUseCoreKbd, &xkb_state) == Success) {
-            e->xkey.state = xkb_state.compat_state;
-            break;
-        }
-#endif
         /* remove from the state the mask of the modifier key being released,
            if it is a modifier key being released that is */
         e->xkey.state &= ~modkeys_keycode_to_mask(e->xkey.keycode);
This page took 0.02552 seconds and 4 git commands to generate.