RegionExtents(®ion)->x2, RegionExtents(®ion)->y2,
(long)RegionNumRects(®ion)));
- pixmap = get_drawable_pixmap(dst->pDrawable);
-
/* XXX xserver-1.8: CompositeRects is not tracked by Damage, so we must
* manually append the damaged regions ourselves.
*
* Note that DamageRegionAppend() will apply the drawable-deltas itself.
*/
- DamageRegionAppend(&pixmap->drawable, ®ion);
+ DamageRegionAppend(dst->pDrawable, ®ion);
+ pixmap = get_drawable_pixmap(dst->pDrawable);
if (get_drawable_deltas(dst->pDrawable, pixmap, &dst_x, &dst_y))
pixman_region_translate(®ion, dst_x, dst_y);
}
done:
- DamageRegionProcessPending(&pixmap->drawable);
+ DamageRegionProcessPending(dst->pDrawable);
cleanup_region:
pixman_region_fini(®ion);