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
This commit is contained in:
parent
9f8df08268
commit
a44a34bb3e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue