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

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


see:
http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n992
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XIproto.h#n474
(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 8e09d7d..a0f42b3 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -271,14 +271,15 @@ <struct name="DeviceTimeCoord">
                             length is num_axes from GetDeviceMotionEvents -->
     </struct>
 
     <request name="GetDeviceMotionEvents" opcode="10">
         <field type="TIMESTAMP" name="start" />
         <field type="TIMESTAMP" name="stop" altenum="Time" />
         <field type="CARD8"     name="device_id" />
+        <pad bytes="3"/>
         <reply>
             <pad bytes="1" />
             <field type="CARD32" name="num_events" />
             <field type="CARD8"  name="num_axes" />
             <field type="CARD8"  name="device_mode" enum="ValuatorMode" />
             <pad bytes="18" />
             <!-- Uninterpreted: list (events) of DeviceTimeCoord structures -->
-- 
2.0.1



More information about the Xcb mailing list