[Xcb] [PATCH proto 01/12] xinput: OpenDevice-reply: add align-pad at end
Christian Linhart
chris at demorecorder.com
Fri Aug 15 11:36:09 PDT 2014
see:
http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n834
(file-position may become wrong if the spec changes)
---
src/xinput.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/xinput.xml b/src/xinput.xml
index cdb414d..87db67c 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -175,14 +175,15 @@ <request name="OpenDevice" opcode="3">
<reply>
<pad bytes="1" />
<field type="CARD8" name="num_classes" />
<pad bytes="23" />
<list type="InputClassInfo" name="class_info">
<fieldref>num_classes</fieldref>
</list>
+ <pad align="4" />
</reply>
</request>
<!-- CloseDevice -->
<request name="CloseDevice" opcode="4">
<field type="CARD8" name="device_id" />
--
2.0.1
More information about the Xcb
mailing list