[Xcb-commit] xcb/proto: src
Peter Harris
peterh at kemper.freedesktop.org
Fri Apr 11 14:50:41 PDT 2014
src/xprint.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 70fea02b7d90d86e9d3b0dc5b61406bf4c910999
Author: Vincent W. Chen <noodlewiz at gmail.com>
Date: Wed Apr 9 18:48:56 2014 -0700
xprint: Fix <field type="STRING8"> in PrintGetAttributes reply
The reply for PrintGetAttributes contains a field of type STRING8, which
makes no sense as the STRING8 type is only used to denote a string. This
has been changed to <list type="STRING8"> with field "stringLen" as its
length.
Reviewed-by: Peter Harris <pharris at opentext.com>
diff --git a/src/xprint.xml b/src/xprint.xml
index ffd8df1..e32293f 100644
--- a/src/xprint.xml
+++ b/src/xprint.xml
@@ -235,7 +235,9 @@ authorization from the authors.
<pad bytes="1" />
<field type="CARD32" name="stringLen" />
<pad bytes="20" />
- <field type="STRING8" name="attributes" />
+ <list type="STRING8" name="attributes">
+ <fieldref>stringLen</fieldref>
+ </list>
</reply>
</request>
More information about the xcb-commit
mailing list