[Xcb-commit] src

Julien Danjou jdanjou at kemper.freedesktop.org
Wed Jan 11 08:07:26 PST 2012


 src/xproto.xml |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 9efd2ac87b9eca51d07173cf33d48f4d3b77509e
Author: Robert Ancell <robert.ancell at gmail.com>
Date:   Wed Jan 11 17:06:36 2012 +0100

    Fix SetFontPath path string encoding
    
    SetFontPath doesn't encode the path strings correctly - it should be the
    same as the GetFontPath reply.
    
    Fixes #43602
    
    Signed-off-by: Julien Danjou <julien at danjou.info>

diff --git a/src/xproto.xml b/src/xproto.xml
index 7b307b7..057d542 100644
--- a/src/xproto.xml
+++ b/src/xproto.xml
@@ -1482,7 +1482,10 @@ authorization from the authors.
   <request name="SetFontPath" opcode="51">
     <pad bytes="1" />
     <field type="CARD16" name="font_qty" />
-    <list type="char" name="path" />
+    <pad bytes="2" />
+    <list type="STR" name="path">
+      <fieldref>path_len</fieldref>
+    </list>
   </request>
 
   <request name="GetFontPath" opcode="52">


More information about the xcb-commit mailing list