From 8cefa7e49326bb3d5b6333efd2ed355c35dada06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Tue, 26 Jan 2010 15:57:40 +0000 Subject: [PATCH] Do a full repaint at end of sliding popups animation and when a window gets deleted to remove artefacts. As the effect is doing full repaints all the time due to PAINT_SCREEN_WITH_TRANSFORMED_WINDOWS this one extra repaint doesn't matter. BUG: 215400 svn path=/trunk/KDE/kdebase/workspace/; revision=1080634 --- effects/slidingpopups/slidingpopups.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/effects/slidingpopups/slidingpopups.cpp b/effects/slidingpopups/slidingpopups.cpp index 3456c682a3..587e4d3c3a 100644 --- a/effects/slidingpopups/slidingpopups.cpp +++ b/effects/slidingpopups/slidingpopups.cpp @@ -136,6 +136,7 @@ void SlidingPopupsEffect::postPaintWindow( EffectWindow* w ) { mDisappearingWindows.remove( w ); w->unrefWindow(); + effects->addRepaintFull(); } } @@ -178,6 +179,7 @@ void SlidingPopupsEffect::windowDeleted( EffectWindow* w ) mAppearingWindows.remove( w ); mDisappearingWindows.remove( w ); mWindowsData.remove( w ); + effects->addRepaintFull(); } void SlidingPopupsEffect::propertyNotify( EffectWindow* w, long a )