Commit 5427b4d4 authored by Fushan Wen's avatar Fushan Wen
Browse files

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.
parent 0ded63c4
Pipeline #156291 passed with stage
in 14 minutes and 3 seconds
......@@ -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());
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment