Fix length calculation for xfixes/FetchRegion reply
authorPeter Harris <pharris@opentext.com>
Wed, 28 Oct 2009 20:05:26 +0000 (16:05 -0400)
committerPeter Harris <pharris@opentext.com>
Wed, 28 Oct 2009 21:16:02 +0000 (17:16 -0400)
Signed-off-by: Peter Harris <pharris@opentext.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
src/xfixes.xml

index f6b0623..9bbeaab 100644 (file)
@@ -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>