From 874ec72298aa73ac571d85cf43c8927707f81aaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Thu, 8 May 2008 00:18:10 +0000 Subject: [PATCH] Also fadein/out windows that are mimizied and live under the taskbar when starting and stopping the Coverswitch effect. svn path=/trunk/KDE/kdebase/workspace/; revision=805261 --- effects/coverswitch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/effects/coverswitch.cpp b/effects/coverswitch.cpp index 01548bf1ae..1072e766a4 100644 --- a/effects/coverswitch.cpp +++ b/effects/coverswitch.cpp @@ -536,7 +536,7 @@ void CoverSwitchEffect::paintWindow( EffectWindow* w, int mask, QRegion region, { if( mActivated || stop || stopRequested ) { - if( !( mask & PAINT_WINDOW_TRANSFORMED ) && ( !w->isDesktop() ) ) + if( !( mask & PAINT_WINDOW_TRANSFORMED ) && !w->isDesktop() ) { if( ( start || stop ) && w->isDock() ) { @@ -548,7 +548,7 @@ void CoverSwitchEffect::paintWindow( EffectWindow* w, int mask, QRegion region, return; } } - if ( ( start || stop ) && !w->isOnCurrentDesktop() ) + if ( ( start || stop ) && (!w->isOnCurrentDesktop() || w->isMinimized() ) ) { if (stop) // Fade out windows not on the current desktop data.opacity = (1.0 - timeLine.value());