Do not start dim previous window animation for windows that should not be dimmed.

BUG: 194336

svn path=/trunk/KDE/kdebase/workspace/; revision=973936
This commit is contained in:
Martin Gräßlin 2009-05-28 08:56:05 +00:00
parent 809bdaa1f0
commit fd5fa07507

View file

@ -109,6 +109,8 @@ void DimInactiveEffect::windowActivated( EffectWindow* w )
{
previousActive = active;
previousActiveTimeline.setProgress( 0.0 );
if( !dimWindow( previousActive ) )
previousActive = NULL;
if( dim_by_group )
{