When discarding window pixmap always damage the window, even

if there was no window pixmap.


svn path=/branches/work/kwin_composite/; revision=636660
This commit is contained in:
Luboš Luňák 2007-02-23 19:16:54 +00:00
parent edc6f0e75b
commit 1f318fbe52

View file

@ -360,11 +360,11 @@ void Toplevel::finishCompositing()
void Toplevel::discardWindowPixmap()
{
addDamageFull();
if( window_pix == None )
return;
XFreePixmap( display(), window_pix );
window_pix = None;
addDamageFull();
}
Pixmap Toplevel::createWindowPixmap() const