summaryrefslogtreecommitdiff
path: root/XKBstr.h
diff options
context:
space:
mode:
authorwettstae@gmail.com <wettstae@gmail.com>2015-03-09 20:13:21 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2015-03-11 16:06:01 +1000
commitfe38312ff65b87a03d21ac5d10618080da296145 (patch)
tree1fd64ac6a3954445d3521a24dfe998c405d9ddee /XKBstr.h
parent5e40da736ffc87f5cafaaa67d745e20ef67a9f4a (diff)
kbproto: Fix typo in XkbSARedirectSetVMods
An apparent copy/paste bug in the macro XkbSARedirectSetVMods, which breaks using RedirectKey actions with virtual modifiers. Signed-off-by: Andreas Wettstein <wettstae@gmail.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'XKBstr.h')
-rw-r--r--XKBstr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/XKBstr.h b/XKBstr.h
index 3449bda..893a04b 100644
--- a/XKBstr.h
+++ b/XKBstr.h
@@ -222,8 +222,8 @@ typedef struct _XkbRedirectKeyAction {
#define XkbSARedirectVMods(a) ((((unsigned int)(a)->vmods1)<<8)|\
((unsigned int)(a)->vmods0))
-#define XkbSARedirectSetVMods(a,m) (((a)->vmods_mask1=(((m)>>8)&0xff)),\
- ((a)->vmods_mask0=((m)&0xff)))
+#define XkbSARedirectSetVMods(a,m) (((a)->vmods1=(((m)>>8)&0xff)),\
+ ((a)->vmods0=((m)&0xff)))
#define XkbSARedirectVModsMask(a) ((((unsigned int)(a)->vmods_mask1)<<8)|\
((unsigned int)(a)->vmods_mask0))
#define XkbSARedirectSetVModsMask(a,m) (((a)->vmods_mask1=(((m)>>8)&0xff)),\