From 1f318fbe52cc8846324a232a8eff9518967d75f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Fri, 23 Feb 2007 19:16:54 +0000 Subject: [PATCH] When discarding window pixmap always damage the window, even if there was no window pixmap. svn path=/branches/work/kwin_composite/; revision=636660 --- composite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composite.cpp b/composite.cpp index 68dc87690f..2c9c5c2e0e 100644 --- a/composite.cpp +++ b/composite.cpp @@ -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