From 0d11a09010f55207909b20c9b4884fc07e20dda9 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Thu, 30 Mar 2023 19:34:05 +0300 Subject: [PATCH] tabbox: Port away from Window::desktop --- 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 0cbdafe26c..2420eb743e 100644 --- a/src/tabbox/tabbox.cpp +++ b/src/tabbox/tabbox.cpp @@ -943,7 +943,7 @@ void TabBox::CDEWalkThroughWindows(bool forward) shadeActivate(nc); } else { if (!nc->isOnCurrentDesktop()) { - VirtualDesktopManager::self()->setCurrent(nc->desktop()); + VirtualDesktopManager::self()->setCurrent(nc->desktops().constLast()); } Workspace::self()->raiseWindow(nc); }