xf86dri: fix GetDrawableInfo reply
authorJulien Cristau <jcristau@debian.org>
Wed, 23 Jun 2010 17:56:26 +0000 (18:56 +0100)
committerJulien Danjou <julien@danjou.info>
Thu, 24 Jun 2010 08:05:27 +0000 (10:05 +0200)
Add missing fields and list of clip rects.

Reviewed-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
src/xf86dri.xml

index 981c968..5bfc572 100644 (file)
@@ -132,10 +132,15 @@ authorization from the authors.
            <field type="INT16" name="drawable_size_W" />
            <field type="INT16" name="drawable_size_H" />
            <field type="CARD32" name="num_clip_rects" />
-           <pad bytes="4" />
+           <field type="INT16" name="back_x" />
+           <field type="INT16" name="back_y" />
+           <field type="CARD32" name="num_back_clip_rects" />
            <list type="DrmClipRect" name="clip_rects">
                <fieldref>num_clip_rects</fieldref>
            </list>
+           <list type="DrmClipRect" name="back_clip_rects">
+               <fieldref>num_back_clip_rects</fieldref>
+           </list>
        </reply>
     </request>