Discard backing pixmap when finishing compositing.

svn path=/branches/work/kwin_composite/; revision=623759
This commit is contained in:
Luboš Luňák 2007-01-15 13:01:43 +00:00
parent 6c51fb76f4
commit 603a1d4686

View file

@ -295,6 +295,7 @@ void Toplevel::finishCompositing()
if( damage_handle == None )
return;
XDamageDestroy( display(), damage_handle );
discardWindowPixmap();
damage_handle = None;
damage_region = QRegion();
}