diff options
author | Daniel Stone <daniel@fooishbar.org> | 2008-04-25 18:45:37 +0300 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2009-01-22 15:08:56 +1100 |
commit | cc5c6d628aa0dc87c2cc9d063972e09ad747a596 (patch) | |
tree | fecb1859e652b7f15751a40aa1b420c949b4e009 /xkb/xkbUtils.c | |
parent | 32db27a7f867b503c2840ca7b815e96d10be9210 (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.c | 3 |
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|= |