[PATCH 2/4] kbproto: LockMods can lock another group on key release #865

Andreas Wettstein wettstein509 at solnet.ch
Sat Nov 10 08:08:28 PST 2012


Add the information to perform group actions to  'XkbModAction'.

Signed-off-by: Andreas Wettstein <wettstein509 at solnet.ch>
---
 XKBstr.h | 3 +++
 1 Datei geändert, 3 Zeilen hinzugefügt(+)

diff --git a/XKBstr.h b/XKBstr.h
index e519e65..2390ae0 100644
--- a/XKBstr.h
+++ b/XKBstr.h
@@ -117,6 +117,9 @@ typedef struct _XkbModAction {
 	unsigned char	real_mods;
 	unsigned char	vmods1;
 	unsigned char	vmods2;
+        /* The effect on groups is an extension beyond the XKB specification */
+	unsigned char	group_flags;
+	char		group_XXX;
 } XkbModAction;
 #define	XkbModActionVMods(a)      \
 	((short)(((a)->vmods1<<8)|((a)->vmods2)))
-- 
1.7.11.3



More information about the xorg-devel mailing list