[Xcb] [PATCH proto 5/5] xinput: event Enter: fix type of fields same_screen and focus

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


fix type of fields "same_screen" and  "focus" from CARD8 to BOOL

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

diff --git a/src/xinput.xml b/src/xinput.xml
index 6f5aeaa..459b388 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -2027,16 +2027,16 @@ <event name="Enter" number="7" xge="true">
         <field type="WINDOW"    name="event" />
         <field type="WINDOW"    name="child" />
         <!-- 32 byte boundary -->
         <field type="FP1616"       name="root_x" />
         <field type="FP1616"       name="root_y" />
         <field type="FP1616"       name="event_x" />
         <field type="FP1616"       name="event_y" />
-        <field type="CARD8"        name="same_screen" />
-        <field type="CARD8"        name="focus" />
+        <field type="BOOL"         name="same_screen" />
+        <field type="BOOL"         name="focus" />
         <field type="CARD16"       name="buttons_len" />
         <field type="ModifierInfo" name="mods" />
         <field type="GroupInfo"    name="group" />
         <list type="CARD32" name="buttons">
             <fieldref>buttons_len</fieldref>
         </list>
     </event>
-- 
2.0.1



More information about the Xcb mailing list