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 ) {