[PATCH kbproto] Use XkbActionMessageLength in corresponding structure

Dirk Wallenstein halsmit at t-online.de
Tue Feb 16 04:28:52 PST 2010


Signed-off-by: Dirk Wallenstein <halsmit at t-online.de>
---
 XKBstr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/XKBstr.h b/XKBstr.h
index bc63f49..4a1783a 100644
--- a/XKBstr.h
+++ b/XKBstr.h
@@ -200,7 +200,7 @@ typedef struct _XkbCtrlsAction {
 typedef struct _XkbMessageAction {
 	unsigned char	type;
 	unsigned char	flags;
-	unsigned char	message[6];
+	unsigned char	message[XkbActionMessageLength];
 } XkbMessageAction;
 
 typedef struct	_XkbRedirectKeyAction {
-- 
1.6.5.3



More information about the xorg-devel mailing list