Ensure there is another repaint when wobbly windows ends.
BUG: 201244 svn path=/trunk/KDE/kdebase/workspace/; revision=1004451
This commit is contained in:
parent
8981223956
commit
a305bb915f
1 changed files with 4 additions and 0 deletions
|
@ -516,6 +516,8 @@ void WobblyWindowsEffect::windowClosed(EffectWindow* w)
|
||||||
{
|
{
|
||||||
freeWobblyInfo(wwi);
|
freeWobblyInfo(wwi);
|
||||||
windows.remove(w);
|
windows.remove(w);
|
||||||
|
if( windows.isEmpty() )
|
||||||
|
effects->addRepaintFull();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (m_closeEffectEnabled)
|
else if (m_closeEffectEnabled)
|
||||||
|
@ -1172,6 +1174,8 @@ bool WobblyWindowsEffect::updateWindowWobblyDatas(EffectWindow* w, qreal time)
|
||||||
}
|
}
|
||||||
freeWobblyInfo(wwi);
|
freeWobblyInfo(wwi);
|
||||||
windows.remove(w);
|
windows.remove(w);
|
||||||
|
if( windows.isEmpty() )
|
||||||
|
effects->addRepaintFull();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue