[Xcb] [PATCH proto 2/2] xinput: SetDeviceModifierMapping: fix length of pad

Christian Linhart chris at DemoRecorder.com
Wed Aug 13 06:40:07 PDT 2014


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" )
---
 src/xinput.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xinput.xml b/src/xinput.xml
index 5d43c16..cdb414d 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -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>
-- 
2.0.1


More information about the Xcb mailing list