properly unmanage windows if they are deleted while animation

svn path=/trunk/KDE/kdebase/workspace/; revision=972412
icc-effect-5.14.5
Michael Zanetti 2009-05-24 21:15:23 +00:00
parent 4dee88ba65
commit ccd04606cc
1 changed files with 4 additions and 0 deletions

View File

@ -338,6 +338,10 @@ void SlideBackEffect::windowDeleted( EffectWindow* w )
oldStackingOrder.removeAll( w );
coveringWindows.removeAll( w );
elevatedList.removeAll( w );
if( motionManager.isManaging( w ) )
{
motionManager.unmanage( w );
}
}
void SlideBackEffect::windowAdded( KWin::EffectWindow* w )