[Xcb] [PATCH 1/3] randr: Fix GetProviderProperty reply
Daniel Martin
consume.noise at gmail.com
Mon Aug 19 14:00:20 PDT 2013
The first field has to be 'format' not a pad and 'num_items' is of type
CARD32.
Signed-off-by: Daniel Martin <consume.noise at gmail.com>
---
src/randr.xml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/randr.xml b/src/randr.xml
index 1ec3234..b112e4e 100644
--- a/src/randr.xml
+++ b/src/randr.xml
@@ -752,11 +752,10 @@ <request name="GetProviderProperty" opcode="41">
<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="*">
--
1.8.3.3
More information about the Xcb
mailing list