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:
parent
5d19671835
commit
90b7e5ee4c
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue