[PATCH] damage: use DamageInitialReport for the initial borderClip damage report

Keith Packard keithp at keithp.com
Mon Apr 11 09:12:43 PDT 2011


On Mon, 11 Apr 2011 17:45:00 +0300, Erkki Seppälä <erkki.seppala at vincit.fi> wrote:

> -	DamageDamageRegion(pDrawable, pRegion);
> +	DamageInitialDamage(pDrawable, pRegion);

You want to just invoke damageReportDamage directly so that you use the
right damage object, rather than assuming that it is the first one on
the drawable list.

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110411/e88e02eb/attachment.pgp>


More information about the xorg-devel mailing list