respect "ignore minimized" for all modes (except tabbox)

BUG: 259827

svn path=/trunk/KDE/kdebase/workspace/; revision=1207336
This commit is contained in:
Thomas Lübking 2010-12-17 15:10:18 +00:00
parent 90dbda9071
commit 26d32df0da

View file

@ -1741,10 +1741,15 @@ bool PresentWindowsEffect::isSelectableWindow( EffectWindow *w )
return false;
if( w == effects->findWindow( m_closeView->winId() ) )
return false;
if( m_tabBoxEnabled )
return true;
if ( m_ignoreMinimized && w->isMinimized() )
return false;
switch( m_mode )
{
default:
case ModeAllDesktops:
break;
return true;
case ModeCurrentDesktop:
return w->isOnCurrentDesktop();
case ModeSelectedDesktop:
@ -1754,9 +1759,6 @@ bool PresentWindowsEffect::isSelectableWindow( EffectWindow *w )
case ModeWindowClass:
return m_class == w->windowClass();
}
if( !m_tabBoxEnabled && m_ignoreMinimized && w->isMinimized() )
return false;
return true;
}
bool PresentWindowsEffect::isVisibleWindow( EffectWindow *w )