[Xcb] [PATCH proto 07/12] xinput: GetDeviceButtonMapping-reply: add align-pad at end
Christian Linhart
chris at demorecorder.com
Fri Aug 15 11:36:15 PDT 2014
see:
http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n1691
(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 cb24de3..e0d887a 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -700,14 +700,15 @@ <request name="GetDeviceButtonMapping" opcode="28">
<reply>
<pad bytes="1" />
<field type="CARD8" name="map_size" />
<pad bytes="23" />
<list type="CARD8" name="map">
<fieldref>map_size</fieldref>
</list>
+ <pad align="4" />
</reply>
</request>
<!-- SetDeviceButtonMapping -->
<request name="SetDeviceButtonMapping" opcode="29">
<field type="CARD8" name="device_id" />
--
2.0.1
More information about the Xcb
mailing list