dont trigger the effect if a window is closed and the focus falls
to a window other than the topwindow BUG: 196900 svn path=/trunk/KDE/kdebase/workspace/; revision=1031353
This commit is contained in:
parent
e03269be68
commit
b5da07a822
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ void SlideBackEffect::windowActivated( EffectWindow* w )
|
|||
return;
|
||||
}
|
||||
|
||||
if( !isWindowUsable( w ) || !stackingOrderChanged() ) // Focus changed but stacking still the same
|
||||
if( !isWindowUsable( w ) || !stackingOrderChanged() || !isWindowOnTop( w ) ) // Focus changed but stacking still the same
|
||||
{
|
||||
updateStackingOrder();
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue