[Xcb-commit] xcb/proto: src
Keith Packard
keithp at kemper.freedesktop.org
Thu Nov 7 22:30:16 CET 2013
src/present.xml | 2 +-
src/xcb.xsd | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 5eedcab9273be2bcbe300842e261424cd522319d
Author: Keith Packard <keithp at keithp.com>
Date: Thu Nov 7 13:29:14 2013 -0800
Add 'fd' element to fields group, fix present Generic event to validate
This fixes 'make check'
Signed-off-by: Keith Packard <keithp at keithp.com>
diff --git a/src/present.xml b/src/present.xml
index d12ae48..57e7cd3 100644
--- a/src/present.xml
+++ b/src/present.xml
@@ -133,7 +133,7 @@ OF THIS SOFTWARE.
<!-- Events -->
- <event name="Generic">
+ <event name="Generic" number="0">
<field type="CARD8" name="extension" />
<field type="CARD32" name="length" />
<field type="CARD16" name="evtype" enum="EventType" />
diff --git a/src/xcb.xsd b/src/xcb.xsd
index 7a9c800..73dbf8a 100644
--- a/src/xcb.xsd
+++ b/src/xcb.xsd
@@ -89,6 +89,9 @@ authorization from the authors.
<!-- field replaces FIELD, PARAM, and REPLY. -->
<xsd:element name="field" type="var" />
+ <!-- fd passing parameter -->
+ <xsd:element name="fd" />
+
<!-- list replaces ARRAYFIELD, LISTPARAM, and ARRAYREPLY. The name and type
are specified as attributes. The content is an expression giving the
length. -->
@@ -185,6 +188,7 @@ authorization from the authors.
<xsd:element ref="pad" />
<xsd:element ref="field" />
<xsd:element ref="list" />
+ <xsd:element ref="fd" />
</xsd:choice>
</xsd:group>
More information about the xcb-commit
mailing list