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

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


see:
http://cgit.freedesktop.org/xorg/lib/libXi/tree/specs/encoding.xml#n1308
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XIproto.h#n737
(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 218c119..bfd02bb 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -432,14 +432,15 @@ <request name="GetDeviceFocus" opcode="20">
     <!-- SetDeviceFocus -->
 
     <request name="SetDeviceFocus" opcode="21">
         <field type="WINDOW"    name="focus" altenum="InputFocus" />
         <field type="TIMESTAMP" name="time" altenum="Time" />
         <field type="CARD8"     name="revert_to" enum="InputFocus" />
         <field type="CARD8"     name="device_id" />
+        <pad bytes="2" />
     </request>
 
     <!-- GetFeedbackControl -->
 
     <enum name="FeedbackClass">
         <item name="Keyboard"> <value>0</value> </item>
         <item name="Pointer">  <value>1</value> </item>
-- 
2.0.1



More information about the Xcb mailing list