From a44a34bb3e9a51492442c2e496d41959ada995fe Mon Sep 17 00:00:00 2001 From: Lucas Murray Date: Tue, 21 Oct 2008 07:27:19 +0000 Subject: [PATCH] Fix window switching mode of present windows not displaying the contents of minimized windows when "ignore minimized" is enabled. svn path=/trunk/KDE/kdebase/workspace/; revision=874297 --- effects/presentwindows.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/effects/presentwindows.cpp b/effects/presentwindows.cpp index 7f8a4a2c63..c4fca01339 100644 --- a/effects/presentwindows.cpp +++ b/effects/presentwindows.cpp @@ -1093,7 +1093,7 @@ void PresentWindowsEffect::setActive( bool active ) { m_windowData[w].visible = isVisibleWindow( w ); m_windowData[w].opacity = w->isOnCurrentDesktop() ? 1.0 : 0.0; - if( m_ignoreMinimized && w->isMinimized() ) + if( !m_tabBoxEnabled && m_ignoreMinimized && w->isMinimized() ) m_windowData[w].opacity = 0.0; m_windowData[w].highlight = 1.0; } @@ -1229,7 +1229,7 @@ bool PresentWindowsEffect::isSelectableWindow( EffectWindow *w ) return false; if( !m_allDesktops && !w->isOnCurrentDesktop() ) return false; - if( m_ignoreMinimized && w->isMinimized() ) + if( !m_tabBoxEnabled && m_ignoreMinimized && w->isMinimized() ) return false; return true; }