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:
parent
edc6f0e75b
commit
1f318fbe52
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue