respect "ignore minimized" for all modes (except tabbox)
BUG: 259827 svn path=/trunk/KDE/kdebase/workspace/; revision=1207336
This commit is contained in:
parent
90dbda9071
commit
26d32df0da
1 changed files with 6 additions and 4 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue