An apparent copy/paste bug in the macro XkbSARedirectSetVMods, which breaks
using RedirectKey actions with virtual modifiers.

Signed-off-by: Andreas Wettstein <wetts...@gmail.com>
---
 XKBstr.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/XKBstr.h b/XKBstr.h
index 5a0c596..403c002 100644
--- a/XKBstr.h
+++ b/XKBstr.h
@@ -225,8 +225,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)),\
-- 
2.2.1

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to