From 5427b4d4da73e67142e028ed676188c154bf6af6 Mon Sep 17 00:00:00 2001 From: Fushan Wen Date: Fri, 4 Feb 2022 22:14:38 +0800 Subject: [PATCH] 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. --- src/tabbox/tabbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabbox/tabbox.cpp b/src/tabbox/tabbox.cpp index 8f01f7ceee..3aeb9ea563 100644 --- a/src/tabbox/tabbox.cpp +++ b/src/tabbox/tabbox.cpp @@ -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()); } } }