[Xcb] [PATCH proto 4/5] xinput: request GrabDeviceButton: fix type of field owner_events

Christian Linhart chris at demorecorder.com
Sat Aug 16 03:08:27 PDT 2014


change type of field "owner_events" from CARD8 to BOOL

spec:
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XIproto.txt#n1311
(file-position in the above URL may become wrong if the spec changes)
---
 src/xinput.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/xinput.xml b/src/xinput.xml
index 7a36692..6f5aeaa 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -376,15 +376,15 @@ <request name="GrabDeviceButton" opcode="17">
         <field type="CARD8"  name="grabbed_device" />
         <field type="CARD8"  name="modifier_device" />
         <field type="CARD16" name="num_classes" />
         <field type="CARD16" name="modifiers" mask="ModMask" />
         <field type="CARD8"  name="this_device_mode" enum="GrabMode" />
         <field type="CARD8"  name="other_device_mode" enum="GrabMode" />
         <field type="CARD8"  name="button" altenum="Grab" />
-        <field type="CARD8"  name="owner_events" />
+        <field type="BOOL"   name="owner_events" />
         <pad bytes="2" />
         <list type="EventClass" name="classes">
             <fieldref>num_classes</fieldref>
         </list>
     </request>
 
     <!-- UngrabDeviceButton -->
-- 
2.0.1



More information about the Xcb mailing list