[Xcb-commit] xcb-proto/src xproto.xml,1.7,1.8
Josh Triplett
xcb-commit at lists.freedesktop.org
Sun May 22 16:27:50 PDT 2005
Update of /cvs/xcb/xcb-proto/src
In directory gabe:/tmp/cvs-serv14676
Modified Files:
xproto.xml
Log Message:
Fix ClientMessage event, which needs to contain either a list of CARD8, CARD16, or CARD32, depending on the format field. Now uses the new union ClientMessageData, which is a union of those three fixed-length lists.
Index: xproto.xml
===================================================================
RCS file: /cvs/xcb/xcb-proto/src/xproto.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- xproto.xml 10 Apr 2005 17:34:46 -0000 1.7
+++ xproto.xml 22 May 2005 23:27:48 -0000 1.8
@@ -279,10 +279,19 @@
<field type="BYTE" name="state" />
</event>
+ <union name="ClientMessageData">
+ <!-- The format member of the ClientMessage event determines which array
+ to use. -->
+ <list type="CARD8" name="data8" ><value>20</value></list> <!-- 8 -->
+ <list type="CARD16" name="data16"><value>10</value></list> <!-- 16 -->
+ <list type="CARD32" name="data32"><value>5</value></list> <!-- 32 -->
+ </union>
+
<event name="ClientMessage" number="33">
- <field type="CARD8" name="format" />
+ <field type="CARD8" name="format" /> <!-- 8, 16, or 32. -->
<field type="WINDOW" name="window" />
<field type="ATOM" name="type" />
+ <field type="ClientMessageData" name="data" />
</event>
<event name="MappingNotify" number="34">
More information about the xcb-commit
mailing list