fixed initial race condition

BUG: 193456


svn path=/trunk/KDE/kdebase/workspace/; revision=972292
This commit is contained in:
Michael Zanetti 2009-05-24 14:00:35 +00:00
parent dea662439b
commit 5ebb6eec4d

View file

@ -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 )
{