All desktops needs to check for application mode as well as for window mode.

BUG: 219563

svn path=/trunk/KDE/kdebase/workspace/; revision=1064722
This commit is contained in:
Martin Gräßlin 2009-12-21 15:11:49 +00:00
parent 134ed3edac
commit cb51fbb14c

View file

@ -170,7 +170,8 @@ void ClientModel::createClientList( int desktop, bool partialReset )
while ( c )
{
TabBoxClient* add = tabBox->clientToAddToList( c, desktop,
tabBox->config().clientListMode() == TabBoxConfig::AllDesktopsClientList );
tabBox->config().clientListMode() == TabBoxConfig::AllDesktopsClientList ||
tabBox->config().clientListMode() == TabBoxConfig::AllDesktopsApplicationList );
if( add != NULL )
{
if ( start == add )
@ -198,7 +199,8 @@ void ClientModel::createClientList( int desktop, bool partialReset )
while ( c )
{
TabBoxClient* add = tabBox->clientToAddToList( c, desktop,
tabBox->config().clientListMode() == TabBoxConfig::AllDesktopsClientList );
tabBox->config().clientListMode() == TabBoxConfig::AllDesktopsClientList ||
tabBox->config().clientListMode() == TabBoxConfig::AllDesktopsApplicationList );
if( add != NULL )
{
if ( start == add )