Backport r1004451: Ensure there is another repaint when wobbly windows ends.

CCBUG: 201244

svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1004452
This commit is contained in:
Martin Gräßlin 2009-07-30 08:16:02 +00:00
parent 5d19671835
commit 90b7e5ee4c

View file

@ -516,6 +516,8 @@ void WobblyWindowsEffect::windowClosed(EffectWindow* w)
{
freeWobblyInfo(wwi);
windows.remove(w);
if( windows.isEmpty() )
effects->addRepaintFull();
}
}
else if (m_closeEffectEnabled)
@ -1172,6 +1174,8 @@ bool WobblyWindowsEffect::updateWindowWobblyDatas(EffectWindow* w, qreal time)
}
freeWobblyInfo(wwi);
windows.remove(w);
if( windows.isEmpty() )
effects->addRepaintFull();
return false;
}