[Xcb] [PATCH proto 03/12] xinput: UngrabDeviceButton-request: add pad at end

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


see:
http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n1229
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XIproto.h#n676
(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 861a9ca..519cd1b 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -390,14 +390,15 @@ <request name="GrabDeviceButton" opcode="17">
 
     <request name="UngrabDeviceButton" opcode="18">
         <field type="WINDOW" name="grab_window" />
         <field type="CARD16" name="modifiers" mask="ModMask" />
         <field type="CARD8"  name="modifier_device" />
         <field type="CARD8"  name="button" altenum="Grab" />
         <field type="CARD8"  name="grabbed_device" />
+        <pad bytes="3" />
     </request>
 
     <!-- AllowDeviceEvents -->
 
     <enum name="DeviceInputMode">
         <item name="AsyncThisDevice">   <value>0</value> </item>
         <item name="SyncThisDevice">    <value>1</value> </item>
-- 
2.0.1



More information about the Xcb mailing list