Backport rev 1214264: Include the desktop window from active screen in alt+tab.
For the tabbox mode to include the desktop window a random desktop window was picked in a multi screen setup. Now the desktop window of the current active screen is picked. CCBUG: 262139 svn path=/branches/KDE/4.6/kdebase/workspace/; revision=1214265
This commit is contained in:
parent
1d9d989735
commit
f5da52f78b
1 changed files with 1 additions and 1 deletions
|
@ -197,7 +197,7 @@ TabBoxClient* TabBoxHandlerImpl::desktopClient() const
|
||||||
{
|
{
|
||||||
foreach( const Client* client, Workspace::self()->stackingOrder() )
|
foreach( const Client* client, Workspace::self()->stackingOrder() )
|
||||||
{
|
{
|
||||||
if( client->isDesktop() && client->isOnCurrentDesktop() )
|
if( client->isDesktop() && client->isOnCurrentDesktop() && client->screen() == Workspace::self()->activeScreen() )
|
||||||
{
|
{
|
||||||
return client->tabBoxClient();
|
return client->tabBoxClient();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue