summaryrefslogtreecommitdiff
path: root/uxa/uxa-render.c
diff options
context:
space:
mode:
Diffstat (limited to 'uxa/uxa-render.c')
-rw-r--r--uxa/uxa-render.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/uxa/uxa-render.c b/uxa/uxa-render.c
index e0f6731b..107233bb 100644
--- a/uxa/uxa-render.c
+++ b/uxa/uxa-render.c
@@ -990,11 +990,6 @@ uxa_solid_rects (CARD8 op,
return;
}
- /* XXX xserver-1.8: CompositeRects is not tracked by Damage, so we must
- * manually append the damaged regions ourselves.
- */
- DamageRegionAppend(dst->pDrawable, &region);
-
pixman_region_translate(&region, dst_x, dst_y);
boxes = pixman_region_rectangles(&region, &num_boxes);
extents = pixman_region_extents (&region);
@@ -1084,6 +1079,11 @@ try_solid:
FreePicture(src, 0);
}
+ /* XXX xserver-1.8: CompositeRects is not tracked by Damage, so we must
+ * manually append the damaged regions ourselves.
+ */
+ DamageRegionAppend(dst->pDrawable, &region);
+
pixman_region_fini(&region);
return;