xinput: SetDeviceModifierMapping: fix length of pad
authorChristian Linhart <chris@DemoRecorder.com>
Wed, 13 Aug 2014 13:40:07 +0000 (15:40 +0200)
committerPeter Harris <pharris@opentext.com>
Mon, 18 Aug 2014 21:41:44 +0000 (17:41 -0400)
fix length of pad from 1 to 2 bytes after request-field keycodes_per_modifier

see XIproto.h:1057 in inputproto-2.3.1
see spec in libXi-1.7.4 ( in docbook format in the directory "specs" )

Reviewed-by: Peter Harris <pharris@opentext.com>
Reviewed-by: Ran Benita <ran234@gmail.com>
src/xinput.xml

index 5d43c16..cdb414d 100644 (file)
@@ -672,7 +672,7 @@ authorization from the authors.
     <request name="SetDeviceModifierMapping" opcode="27">
         <field type="CARD8" name="device_id" />
         <field type="CARD8" name="keycodes_per_modifier" />
-        <pad bytes="1" />
+        <pad bytes="2" />
         <list type="CARD8" name="keymaps">
             <op op="*">
                 <fieldref>keycodes_per_modifier</fieldref>