aboutsummaryrefslogtreecommitdiff
path: root/libxcb/xcb-proto/src/xcb.xsd
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb/xcb-proto/src/xcb.xsd')
-rw-r--r--libxcb/xcb-proto/src/xcb.xsd5
1 files changed, 4 insertions, 1 deletions
diff --git a/libxcb/xcb-proto/src/xcb.xsd b/libxcb/xcb-proto/src/xcb.xsd
index 819495b95..7a9c80018 100644
--- a/libxcb/xcb-proto/src/xcb.xsd
+++ b/libxcb/xcb-proto/src/xcb.xsd
@@ -353,7 +353,10 @@ authorization from the authors.
<xsd:sequence minOccurs="1" maxOccurs="unbounded">
<xsd:element name="item">
<xsd:complexType>
- <xsd:group ref="expression" minOccurs="0" maxOccurs="1" />
+ <xsd:choice minOccurs="1" maxOccurs="1">
+ <xsd:element name="value" type="dec-or-hex-integer" />
+ <xsd:element name="bit" type="xsd:integer" />
+ </xsd:choice>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>