tabbox: Don't play "Show Desktop Animation" when activating from tabbox
We already show the desktop preview when the "Show Desktop" item is focused, so the animation should be considered redundant.
This commit is contained in:
parent
0ded63c464
commit
5427b4d4da
1 changed files with 1 additions and 1 deletions
|
@ -1465,7 +1465,7 @@ void TabBox::accept(bool closeTabBox)
|
|||
Workspace::self()->activateClient(c);
|
||||
shadeActivate(c);
|
||||
if (c->isDesktop()) {
|
||||
Workspace::self()->setShowingDesktop(!Workspace::self()->showingDesktop());
|
||||
Workspace::self()->setShowingDesktop(!Workspace::self()->showingDesktop(), !m_desktopListConfig.isHighlightWindows());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue