[Xcb] [PATCH proto 02/12] xinput: UngrabDevice-request: add pad at end

Christian Linhart chris at demorecorder.com
Fri Aug 15 11:36:10 PDT 2014


see:
http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n1130
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XIproto.h#n596
(file-positions may become wrong if the spec or header change)
---
 src/xinput.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/xinput.xml b/src/xinput.xml
index 87db67c..861a9ca 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -333,14 +333,15 @@ <request name="GrabDevice" opcode="13">
     </request>
 
     <!-- UngrabDevice -->
 
     <request name="UngrabDevice" opcode="14">
         <field type="TIMESTAMP" name="time" altenum="Time" />
         <field type="CARD8"     name="device_id" />
+        <pad bytes="3" />
     </request>
 
     <!-- GrabDeviceKey -->
 
     <request name="GrabDeviceKey" opcode="15">
         <field type="WINDOW" name="grab_window" />
         <field type="CARD16" name="num_classes" />
-- 
2.0.1



More information about the Xcb mailing list