From 20393474634c5454fe29cc6d95c970b2b2f21b1c Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 21 Jul 2007 09:52:43 -0400 Subject: [PATCH] remove mysterious xkb code... --- openbox/event.c | 6 ------ 1 file changed, 6 deletions(-) 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); -- 2.45.2