[PATCH] Bugfix: Use LISTofSTRING8 for `SetFontPath' request.

Thien-Thi Nguyen ttn at gnuvola.org
Sat Jun 14 01:44:13 PDT 2008


* src/xproto.xml (SetFontPath): Rename field `font_qty'
to `path_len'; add padding; change list field `path' to
type `STR', with fieldref `path_len'.

Signed-off-by: Thien-Thi Nguyen <ttn at gnuvola.org>
---
 src/xproto.xml |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/xproto.xml b/src/xproto.xml
index 0b796a9..ceec302 100644
--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -1339,8 +1339,11 @@ authorization from the authors.
 
   <request name="SetFontPath" opcode="51">
     <pad bytes="1" />
-    <field type="CARD16" name="font_qty" />
-    <list type="char" name="path" />
+    <field type="CARD16" name="path_len" />
+    <pad bytes="2" />
+    <list type="STR" name="path">
+      <fieldref>path_len</fieldref>
+    </list>
   </request>
 
   <request name="GetFontPath" opcode="52">
-- 
1.5.3.5


--=-=-=--


More information about the Xcb mailing list