projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea07bf7
)
strip non-modifier masks from the keyboard state for keyreleases when xkb is present too
author
Dana Jansens
<danakj@orodu.net>
Fri, 25 Jan 2008 01:19:33 +0000
(20:19 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Fri, 25 Jan 2008 01:19:33 +0000
(20:19 -0500)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index
025f118
..
fba5e86
100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-270,7
+270,8
@@
static void event_hack_mods(XEvent *e)
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
{