Ensure there is another repaint when wobbly windows ends.

BUG: 201244

svn path=/trunk/KDE/kdebase/workspace/; revision=1004451
icc-effect-5.14.5
Martin Gräßlin 2009-07-30 08:14:08 +00:00
parent 8981223956
commit a305bb915f
1 changed files with 4 additions and 0 deletions

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;
}