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
icc-effect-5.14.5
Lucas Murray 2008-10-21 07:27:19 +00:00
parent 9f8df08268
commit a44a34bb3e
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}