[Xcb] [PATCH proto 2/5] xinput: reply XIQueryPointer: fix type of field same_screen
Christian Linhart
chris at demorecorder.com
Sat Aug 16 03:08:25 PDT 2014
fix type of field "same_screen" from CARD8 to BOOL
spec:
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XI2proto.txt#n1054
note:
the type of this field should also be fixed in XI2proto.h:
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XI2proto.h#n386
(file-positions in the above URLs may become wrong if the spec or header changes)
---
src/xinput.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xinput.xml b/src/xinput.xml
index bf4efe9..c03b93c 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -1139,15 +1139,15 @@ <request name="XIQueryPointer" opcode="40">
<pad bytes="1" />
<field type="WINDOW" name="root" />
<field type="WINDOW" name="child" />
<field type="FP1616" name="root_x" />
<field type="FP1616" name="root_y" />
<field type="FP1616" name="win_x" />
<field type="FP1616" name="win_y" />
- <field type="CARD8" name="same_screen" />
+ <field type="BOOL" name="same_screen" />
<pad bytes="1" />
<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>
--
2.0.1
More information about the Xcb
mailing list