fixed initial race condition
BUG: 193456 svn path=/trunk/KDE/kdebase/workspace/; revision=972292
This commit is contained in:
parent
dea662439b
commit
5ebb6eec4d
1 changed files with 2 additions and 3 deletions
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue