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
This commit is contained in:
Martin Gräßlin 2010-01-26 15:57:40 +00:00
parent 17ea2bf146
commit 8cefa7e493

View file

@ -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 )