diff options
author | Daniel Stone <daniel@fooishbar.org> | 2012-08-21 12:48:20 +0100 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2012-09-10 19:23:35 +0100 |
commit | b04d896ab25cca055e5bcc3d2e58d9c9fb6ef3c4 (patch) | |
tree | de0aaff12b30c7465941a128520ca11a0fdafae3 /src/xkbcomp/action.c | |
parent | 74ec4c1c3fa9d7ff739013728d42ff06d72697c7 (diff) | |
download | libxkbcommon-b04d896ab25cca055e5bcc3d2e58d9c9fb6ef3c4.tar.gz libxkbcommon-b04d896ab25cca055e5bcc3d2e58d9c9fb6ef3c4.tar.bz2 libxkbcommon-b04d896ab25cca055e5bcc3d2e58d9c9fb6ef3c4.zip |
kbproto unentanglement: XkbNumVirtualMods
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'src/xkbcomp/action.c')
-rw-r--r-- | src/xkbcomp/action.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xkbcomp/action.c b/src/xkbcomp/action.c index 114d4ea..24ae68f 100644 --- a/src/xkbcomp/action.c +++ b/src/xkbcomp/action.c @@ -915,7 +915,7 @@ HandleRedirectKey(struct xkb_keymap *keymap, union xkb_action *action, else act->mods &= ~(t2 & 0xff); - t2 = (t2 >> XkbNumModifiers) & 0xffff; + t2 = (t2 >> XKB_NUM_CORE_MODS) & 0xffff; act->vmods_mask |= t2; if (field == ACTION_FIELD_MODIFIERS) act->vmods |= t2; |