summaryrefslogtreecommitdiff
path: root/xkb/xkbUtils.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2008-04-25 18:45:37 +0300
committerDaniel Stone <daniel@fooishbar.org>2009-01-22 15:08:56 +1100
commitcc5c6d628aa0dc87c2cc9d063972e09ad747a596 (patch)
treefecb1859e652b7f15751a40aa1b420c949b4e009 /xkb/xkbUtils.c
parent32db27a7f867b503c2840ca7b815e96d10be9210 (diff)
XKB: Remove unsupported Xi operation flags
We support every XKB operation on Xi devices, so always report that we support everything, and that nothing is ever unsupported. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'xkb/xkbUtils.c')
-rw-r--r--xkb/xkbUtils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xkb/xkbUtils.c b/xkb/xkbUtils.c
index f84e89206..d03195f05 100644
--- a/xkb/xkbUtils.c
+++ b/xkb/xkbUtils.c
@@ -711,8 +711,7 @@ unsigned char grp;
if (!state || !ctrls)
return;
- state->mods= (state->base_mods|state->latched_mods);
- state->mods|= state->locked_mods;
+ state->mods= (state->base_mods|state->latched_mods|state->locked_mods);
state->lookup_mods= state->mods&(~ctrls->internal.mask);
state->grab_mods= state->lookup_mods&(~ctrls->ignore_lock.mask);
state->grab_mods|=