summaryrefslogtreecommitdiff
path: root/src/xkbcomp/keymap.c
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-08-29 15:17:00 +0300
committerRan Benita <ran234@gmail.com>2012-09-03 10:31:12 +0300
commit41472822b68bd71b2b1ac5c2cf57f28b727ef744 (patch)
tree2e5076f255158bd2e60e5fd71be3a0f9e0965bec /src/xkbcomp/keymap.c
parent300f3fb1e051e4705a3d7787d508c10af98e4bb4 (diff)
downloadlibxkbcommon-41472822b68bd71b2b1ac5c2cf57f28b727ef744.tar.gz
libxkbcommon-41472822b68bd71b2b1ac5c2cf57f28b727ef744.tar.bz2
libxkbcommon-41472822b68bd71b2b1ac5c2cf57f28b727ef744.zip
Use XKB_MOD_INVALID instead of XkbNoModifier
Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbcomp/keymap.c')
-rw-r--r--src/xkbcomp/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xkbcomp/keymap.c b/src/xkbcomp/keymap.c
index 3fc8915..5c1de7a 100644
--- a/src/xkbcomp/keymap.c
+++ b/src/xkbcomp/keymap.c
@@ -168,7 +168,7 @@ ApplyInterpsToKey(struct xkb_keymap *keymap, struct xkb_key *key)
if ((group == 0 && level == 0) ||
!(interp->match & XkbSI_LevelOneOnly)) {
- if (interp->virtual_mod != XkbNoModifier)
+ if (interp->virtual_mod != XKB_MOD_INVALID)
vmodmask |= (1 << interp->virtual_mod);
}