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

Erkki Seppala erkki.seppala at vincit.fi
Tue Apr 12 02:54:39 PDT 2011


On 11.04.2011 19:12, Keith Packard wrote:
> 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.

Right, my patch worked rather by accident than by solid code --
apparently my understanding of the Damage code wasn't deep enough
yet.

After this post follows a patch that makes use of a now-published
function damageReportDamage function instead (under the name
DamageReportDamage), calling it directly with the created damage object.


More information about the xorg-devel mailing list