[PATCH] damage: Remove the 'damage window' resource type

Soeren Sandmann sandmann at cs.au.dk
Wed Mar 30 06:35:34 PDT 2011

Adam Jackson <ajax at redhat.com> writes:

> This may be more correct in that it cleans up the Damage.  I think it's
> less correct in that you break existing clients.  FreeDamageExtWin()
> deletes the Damage XID, but the spec mentions nothing about magically
> garbage-collecting Damages just because their drawable went away.  From
> a quick check, it looks like mutter pushes an error handler around
> XDamageDestroy(), but compiz and kwin do not.

I think window managers have traditionally just handled all errors at
all times, but that metacity was written to be more precise about it.

It may be that kwin and compiz are already handling these errors even if
they don't handle them explicitly.


More information about the xorg-devel mailing list