From fd5fa0750735580edc748d84bb466629052df300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 28 May 2009 08:56:05 +0000 Subject: [PATCH] Do not start dim previous window animation for windows that should not be dimmed. BUG: 194336 svn path=/trunk/KDE/kdebase/workspace/; revision=973936 --- effects/diminactive/diminactive.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/effects/diminactive/diminactive.cpp b/effects/diminactive/diminactive.cpp index 2e5b6f8375..a9e154ba04 100644 --- a/effects/diminactive/diminactive.cpp +++ b/effects/diminactive/diminactive.cpp @@ -109,6 +109,8 @@ void DimInactiveEffect::windowActivated( EffectWindow* w ) { previousActive = active; previousActiveTimeline.setProgress( 0.0 ); + if( !dimWindow( previousActive ) ) + previousActive = NULL; if( dim_by_group ) {