all repos — openbox @ bed3cb7a30e5bc3e75bf624dafc2d7d94714ae2f

openbox fork - make it a bit more like ryudo

strip non-modifier masks from the keyboard state for keyreleases when xkb is present too
Dana Jansens danakj@orodu.net
commit

bed3cb7a30e5bc3e75bf624dafc2d7d94714ae2f

parent

ea07bf7131a301130beb348359d10a624a2046a0

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M openbox/event.copenbox/event.c

@@ -270,7 +270,8 @@ /* 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) - e->xkey.state = xkb_state.compat_state; + e->xkey.state = + modkeys_only_modifier_masks(xkb_state.compat_state); else #endif {