[Xcb] [PATCH proto] xprint: Fix <field type="STRING8"> in PrintGetAttributes reply
Vincent W. Chen
noodlewiz at gmail.com
Wed Apr 9 18:48:56 PDT 2014
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.
---
src/xprint.xml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
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>
--
1.9.1
More information about the Xcb
mailing list