Adam Jackson <[email protected]> writes: > Per the spec: > > A bit-gravity of Forget indicates that the window contents are > always discarded after a size change, even if backing-store or > save-under has been requested. The window is tiled with its > background (except, if no background is defined, the existing > screen contents are not altered) and zero or more exposure events > are generated. > > For redirected windows, size changes hit compReallocPixmap, which > normally attempts to preserve the previous pixmap in cw->pOldPixmap. > For ForgetGravity windows we now destroy the old pixmap before > allocating the new one. This reduces pressure on the allocator, and > also eliminates some overdraw (compCopyWindow would copy in the bits > from the old pixmap regardless of gravity, even though they're about to > be blown away by the background tile described above).
Sadly, 'Forget' only includes window resize, and not border size changes. -- [email protected]
pgpvjj9fHXXWV.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
