[Xcb] [proto v2 2/3] xinput: Add missing pad in DeviceResolutionCtl

Daniel Martin consume.noise at gmail.com
Thu Jul 17 13:49:11 PDT 2014


A pad of 2 bytes was missing in the struct DeviceResolutionCtl:
    http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XIproto.h#n1382

Signed-off-by: Daniel Martin <consume.noise at gmail.com>
Reviewed-by: Peter Harris <pharris at opentext.com>
---
 src/xinput.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/xinput.xml b/src/xinput.xml
index 924c003..f7239e8 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -914,6 +914,7 @@ <struct name="DeviceResolutionCtl">
         <field type="CARD16" name="len" />
         <field type="CARD8"  name="first_valuator" />
         <field type="CARD8"  name="num_valuators" />
+        <pad bytes="2" />
         <list type="CARD32"  name="resolution_values">
             <fieldref>num_valuators</fieldref>
         </list>
-- 
2.0.1



More information about the Xcb mailing list