summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2006-11-19 14:51:26 -0800
committerJamey Sharp <jamey@minilop.net>2006-11-19 20:12:43 -0800
commit854d08c8242e8fbe7b5a000b75ec6845419806c4 (patch)
treeb7218073fa608ac7016eb12195b4d77fd3f7a91c
parent36134f48236f50aeee386b36be7e82c809688bc8 (diff)
Remove support for the <localfield> tag: nothing needs it.
Only one use of <localfield> remained, for a list length expression in xv.xml. List length parameters that don't actually appear in the protocol should be left implicit: if no length expression is given, then a localfield will be automatically created by c-client.xsl.
-rw-r--r--src/xcb.xsd4
-rw-r--r--src/xv.xml5
2 files changed, 1 insertions, 8 deletions
diff --git a/src/xcb.xsd b/src/xcb.xsd
index 13ca7de..674a185 100644
--- a/src/xcb.xsd
+++ b/src/xcb.xsd
@@ -67,9 +67,6 @@ authorization from the authors.
</xsd:complexType>
</xsd:element>
- <!-- Parameters in requests that are not sent with the request. -->
- <xsd:element name="localfield" type="var" />
-
<!-- Expressions -->
<xsd:group name="expression">
<xsd:choice>
@@ -162,7 +159,6 @@ authorization from the authors.
<xsd:sequence>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:group ref="fields" />
- <xsd:element ref="localfield" />
<xsd:element ref="exprfield" />
<xsd:element ref="valueparam" />
</xsd:choice>
diff --git a/src/xv.xml b/src/xv.xml
index 1694f2b..bbaa4eb 100644
--- a/src/xv.xml
+++ b/src/xv.xml
@@ -402,10 +402,7 @@ authorization from the authors.
<field type="CARD16" name="drw_h" />
<field type="CARD16" name="width" />
<field type="CARD16" name="height" />
- <localfield type="CARD32" name="data_size" />
- <list type="CARD8" name="data">
- <fieldref>data_size</fieldref>
- </list>
+ <list type="CARD8" name="data" />
</request>
<request name="ShmPutImage" opcode="19">