From a305bb915fea2f3f91189da0c9d224c13379517c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 30 Jul 2009 08:14:08 +0000 Subject: [PATCH] Ensure there is another repaint when wobbly windows ends. BUG: 201244 svn path=/trunk/KDE/kdebase/workspace/; revision=1004451 --- effects/wobblywindows/wobblywindows.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/effects/wobblywindows/wobblywindows.cpp b/effects/wobblywindows/wobblywindows.cpp index d30482b496..8d1418b530 100644 --- a/effects/wobblywindows/wobblywindows.cpp +++ b/effects/wobblywindows/wobblywindows.cpp @@ -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; }