properly unmanage windows if they are deleted while animation

svn path=/trunk/KDE/kdebase/workspace/; revision=972412
This commit is contained in:
Michael Zanetti 2009-05-24 21:15:23 +00:00
parent 4dee88ba65
commit ccd04606cc

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 )