[Xcb] [PATCH proto 3/5] xinput: struct AddMaster: fix type of fields
Christian Linhart
chris at demorecorder.com
Sat Aug 16 03:08:26 PDT 2014
fix type of fields "send_core" and "enable" to BOOL
spec:
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/specs/XI2proto.txt#n1187
note:
the type of these fields should also be fixed in XI2proto.h:
http://cgit.freedesktop.org/xorg/proto/inputproto/tree/XI2proto.h#n460
(file-positions in the above URLs 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 c03b93c..7a36692 100644
--- a/src/xinput.xml
+++ b/src/xinput.xml
@@ -1192,16 +1192,16 @@ <enum name="ChangeMode">
<item name="Float"> <value>2</value> </item>
</enum>
<struct name="AddMaster">
<field type="CARD16" name="type" enum="HierarchyChangeType" />
<field type="CARD16" name="len" />
<field type="CARD16" name="name_len" />
- <field type="CARD8" name="send_core" />
- <field type="CARD8" name="enable" />
+ <field type="BOOL" name="send_core" />
+ <field type="BOOL" name="enable" />
<list type="char" name="name">
<fieldref>name_len</fieldref>
</list>
<pad align="4" />
</struct>
<struct name="RemoveMaster">
--
2.0.1
More information about the Xcb
mailing list