randr: Fix GetProviderProperty reply
authorDaniel Martin <consume.noise@gmail.com>
Mon, 19 Aug 2013 21:00:20 +0000 (23:00 +0200)
committerArnaud Fontaine <arnau@debian.org>
Fri, 11 Oct 2013 07:14:45 +0000 (16:14 +0900)
The first field has to be 'format' not a pad and 'num_items' is of type
CARD32.

Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Reviewed-by: Arnaud Fontaine <arnau@debian.org>
src/randr.xml

index 528ee2c..d9192b2 100644 (file)
@@ -752,11 +752,10 @@ authorization from the authors.
                <field type="BOOL" name="pending" />
                <pad bytes="2" />
                <reply>
-                       <pad bytes="1" />
                        <field type="CARD8" name="format" />
                        <field type="ATOM" name="type" /> <!-- None -->
                        <field type="CARD32" name="bytes_after" />
-                       <field type="CARD16" name="num_items" />
+                       <field type="CARD32" name="num_items" />
                        <pad bytes="12" />
                        <list type="void" name="data">
                                <op op="*">