remove mysterious xkb code...
This commit is contained in:
parent
0545563b19
commit
2039347463
1 changed files with 0 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue