[PATCH] Fix length calculation for xfixes/FetchRegion reply

Peter Harris pharris at opentext.com
Wed Oct 28 13:05:26 PDT 2009


Signed-off-by: Peter Harris <pharris at opentext.com>
---
 src/xfixes.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/xfixes.xml b/src/xfixes.xml
index f6b0623..9bbeaab 100644
--- a/src/xfixes.xml
+++ b/src/xfixes.xml
@@ -229,7 +229,10 @@ authorization from the authors.
       <field type="RECTANGLE" name="extents" />
       <pad bytes="16" />
       <list  type="RECTANGLE" name="rectangles">
+	<op op='/'>
 		<fieldref>length</fieldref>
+		<value>2</value>
+	</op>
       </list>
     </reply>
   </request>
-- 
1.6.5


--------------050902060707020502040907--


More information about the Xcb mailing list