From 5ebb6eec4db31864a4015eabf364533348c8b242 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Sun, 24 May 2009 14:00:35 +0000 Subject: [PATCH] fixed initial race condition BUG: 193456 svn path=/trunk/KDE/kdebase/workspace/; revision=972292 --- effects/slideback/slideback.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/effects/slideback/slideback.cpp b/effects/slideback/slideback.cpp index 8ead3df909..26675b9098 100644 --- a/effects/slideback/slideback.cpp +++ b/effects/slideback/slideback.cpp @@ -30,7 +30,8 @@ KWIN_EFFECT( slideback, SlideBackEffect ) SlideBackEffect::SlideBackEffect() { - // updateStackingOrder(); + updateStackingOrder(); + disabled = false; } void SlideBackEffect::windowActivated( EffectWindow* w ) @@ -207,8 +208,6 @@ void SlideBackEffect::paintWindow( EffectWindow *w, int mask, QRegion region, Wi // region = region.subtracted( tmp->geometry() ); } } - // Add a full repaint to make sure the not painted area is repainted soon - effects->addRepaintFull(); // Finally call windowActivated in case a already active window is raised. if( !disabled ) {