From 90b7e5ee4cdb8828a84192ebef0a7e86cdca4f32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 30 Jul 2009 08:16:02 +0000 Subject: [PATCH] Backport r1004451: Ensure there is another repaint when wobbly windows ends. CCBUG: 201244 svn path=/branches/KDE/4.3/kdebase/workspace/; revision=1004452 --- 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; }