xinput: SetDeviceModifierMapping: fix length of pad

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>
This commit is contained in:
Christian Linhart 2014-08-13 15:40:07 +02:00 committed by Peter Harris
parent e6b0b4da4a
commit 8e3db42d67

View 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>