xinput: Add missing pad in DeviceResolutionCtl
authorDaniel Martin <consume.noise@gmail.com>
Thu, 17 Jul 2014 20:49:11 +0000 (22:49 +0200)
committerDaniel Martin <consume.noise@gmail.com>
Sun, 20 Jul 2014 19:44:44 +0000 (21:44 +0200)
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@gmail.com>
Reviewed-by: Peter Harris <pharris@opentext.com>
src/xinput.xml

index 924c003..f7239e8 100644 (file)
@@ -914,6 +914,7 @@ authorization from the authors.
         <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>