diff options
| author | staz <alyystaz@gmail.com> | 2025-01-12 22:00:56 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-12 17:00:56 +0000 |
| commit | b117fae3b493b9d5ac7ada3140cac555c3979dfd (patch) | |
| tree | efe8d53293d15d432c71f5b3453e29724535d1b5 /src/managers/KeybindManager.cpp | |
| parent | 2671656a75708452e9408a111e69e4436b6ad301 (diff) | |
keybinds: fix movefocus fallback for special workspaces (#9040)
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 720d27f6..9a719130 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -1534,7 +1534,8 @@ SDispatchResult CKeybindManager::moveFocusTo(std::string args) { break; } - const auto PWINDOWCANDIDATE = g_pCompositor->getWindowInDirection(box, PMONITOR->activeWorkspace, arg, PLASTWINDOW, PLASTWINDOW->m_bIsFloating); + const auto PWINDOWCANDIDATE = g_pCompositor->getWindowInDirection(box, PMONITOR->activeSpecialWorkspace ? PMONITOR->activeSpecialWorkspace : PMONITOR->activeWorkspace, arg, + PLASTWINDOW, PLASTWINDOW->m_bIsFloating); if (PWINDOWCANDIDATE) switchToWindow(PWINDOWCANDIDATE); |
