tabbox: Port away from Window::desktop

This commit is contained in:
Vlad Zahorodnii 2023-03-30 19:34:05 +03:00
parent 2c12a6a417
commit 0d11a09010

View file

@ -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);
}