[Xcb] [PATCH 3/3] xkb: Fix struct ExtensionDeviceNotify

Daniel Martin consume.noise at gmail.com
Mon Aug 19 14:00:22 PDT 2013


The field ledId is of type CARD16, not CARD8, see XKBproto.h.

Signed-off-by: Daniel Martin <consume.noise at gmail.com>
---
 src/xkb.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xkb.xml b/src/xkb.xml
index df5d614..45f6412 100644
--- a/src/xkb.xml
+++ b/src/xkb.xml
@@ -2612,7 +2612,7 @@ <event name="ExtensionDeviceNotify" number="11">
 		<pad bytes="1" />
 		<field name="reason" type="CARD16" mask="XIFeature" />
 		<field name="ledClass" type="CARD16" enum="LedClassResult" />
-		<field name="ledID" type="CARD8" />
+		<field name="ledID" type="CARD16" />
 		<field name="ledsDefined" type="CARD32" />
 		<field name="ledState" type="CARD32" />
 		<field name="firstButton" type="CARD8" />
-- 
1.8.3.3



More information about the Xcb mailing list