From: Dana Jansens Date: Sat, 21 Jul 2007 13:52:43 +0000 (-0400) Subject: remove mysterious xkb code... X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=20393474634c5454fe29cc6d95c970b2b2f21b1c;p=chaz%2Fopenbox remove mysterious xkb code... --- diff --git a/openbox/event.c b/openbox/event.c index c6bf6dfe..7e31b6dc 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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);