keybinds: fix movefocus fallback for special workspaces (#9040)
This commit is contained in:
parent
2671656a75
commit
b117fae3b4
1 changed files with 2 additions and 1 deletions
|
|
@ -1534,7 +1534,8 @@ SDispatchResult CKeybindManager::moveFocusTo(std::string args) {
|
||||||
break;
|
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)
|
if (PWINDOWCANDIDATE)
|
||||||
switchToWindow(PWINDOWCANDIDATE);
|
switchToWindow(PWINDOWCANDIDATE);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue