[Xcb] [PATCH proto 04/12] xinput: AllowDeviceEvents-request: add pad at end

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


see:
http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n1251
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XIproto.h#n692
(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 519cd1b..218c119 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -408,14 +408,15 @@ <enum name="DeviceInputMode">
         <item name="SyncAll">           <value>5</value> </item>
     </enum>
 
     <request name="AllowDeviceEvents" opcode="19">
         <field type="TIMESTAMP" name="time" altenum="Time" />
         <field type="CARD8"     name="mode" enum="DeviceInputMode" />
         <field type="CARD8"     name="device_id" />
+        <pad bytes="2" />
     </request>
 
     <!-- GetDeviceFocus -->
 
     <request name="GetDeviceFocus" opcode="20">
         <field type="CARD8" name="device_id" />
         <pad bytes="3" />
-- 
2.0.1



More information about the Xcb mailing list