summaryrefslogtreecommitdiff
path: root/src/xkbcomp/action.c
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2012-10-06 17:42:21 +0200
committerRan Benita <ran234@gmail.com>2012-10-06 21:42:00 +0200
commita1124b5991b58601af551f43b0cf2583d343c37f (patch)
tree16ada2146b3ccd7bbe87dbab833b00aadaa1cbe0 /src/xkbcomp/action.c
parent39232e6dae3f7fcaae49ed05cb0e48117a46616e (diff)
downloadlibxkbcommon-a1124b5991b58601af551f43b0cf2583d343c37f.tar.gz
libxkbcommon-a1124b5991b58601af551f43b0cf2583d343c37f.tar.bz2
libxkbcommon-a1124b5991b58601af551f43b0cf2583d343c37f.zip
expr: unify the real and virtual modifier functions
This again pushes the mod type annotation to the original call site, to make it easier to grep to see where the real/virtual distinction matters. Signed-off-by: Ran Benita <ran234@gmail.com>
Diffstat (limited to 'src/xkbcomp/action.c')
-rw-r--r--src/xkbcomp/action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xkbcomp/action.c b/src/xkbcomp/action.c
index 3c65750..f83c220 100644
--- a/src/xkbcomp/action.c
+++ b/src/xkbcomp/action.c
@@ -278,7 +278,7 @@ CheckModifierField(struct xkb_keymap *keymap, enum xkb_action_type action,
}
}
- if (!ExprResolveVModMask(keymap, value, mods_rtrn))
+ if (!ExprResolveModMask(keymap, value, MOD_BOTH, mods_rtrn))
return ReportMismatch(keymap, action,
ACTION_FIELD_MODIFIERS, "modifier mask");