[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xcb
Subject:    [Xcb] [PATCH 1/3] randr: Fix GetProviderProperty reply
From:       Daniel Martin <consume.noise () gmail ! com>
Date:       2013-08-19 21:00:20
Message-ID: 1376946022-14102-1-git-send-email-consume.noise () gmail ! com
[Download RAW message or body]

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>
---
 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

_______________________________________________
Xcb mailing list
Xcb@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xcb
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic