[Xcb-commit] xcb/proto: 2 commits - src

Peter Harris peterh at kemper.freedesktop.org
Mon Aug 18 14:42:33 PDT 2014


 src/xinput.xml |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 8e3db42d67a0035bb16d16da28bd5eea7a269178
Author: Christian Linhart <chris at DemoRecorder.com>
Date:   Wed Aug 13 15:40:07 2014 +0200

    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 at opentext.com>
    Reviewed-by: Ran Benita <ran234 at gmail.com>

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>
commit e6b0b4da4a6942171cef767f31008614f96ec3a3
Author: Christian Linhart <chris at DemoRecorder.com>
Date:   Wed Aug 13 15:39:14 2014 +0200

    xinput: ChangeFeedbackControl: add missing pad
    
    add missing pad after field "feedback_id"
    
    see XIproto.h:875 in inputproto-2.3.1
    see spec in libXi-1.7.4 ( in docbook format in the directory "specs" )
    
    Reviewed-by: Peter Harris <pharris at opentext.com>
    Reviewed-by: Ran Benita <ran234 at gmail.com>

diff --git a/src/xinput.xml b/src/xinput.xml
index 86350de..5d43c16 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -613,6 +613,7 @@ authorization from the authors.
         <field type="CARD32"      name="mask" />
         <field type="CARD8"       name="device_id" />
         <field type="CARD8"       name="feedback_id" />
+        <pad bytes="2" />
         <field type="FeedbackCtl" name="feedback" />
     </request>
 


More information about the xcb-commit mailing list