mirror of https://github.com/hyprwm/Hyprland
keybindmgr: fix workspace_back_and_forth (#5585)
This commit is contained in:
parent
0634aaeac6
commit
83ab0f2d66
|
@ -999,7 +999,7 @@ void CKeybindManager::changeworkspace(std::string args) {
|
|||
if (BISWORKSPACECURRENT) {
|
||||
if (*PALLOWWORKSPACECYCLES)
|
||||
pWorkspaceToChangeTo->rememberPrevWorkspace(PCURRENTWORKSPACE);
|
||||
else if (!EXPLICITPREVIOUS)
|
||||
else if (!EXPLICITPREVIOUS && !*PBACKANDFORTH)
|
||||
pWorkspaceToChangeTo->rememberPrevWorkspace(nullptr);
|
||||
} else
|
||||
pWorkspaceToChangeTo->rememberPrevWorkspace(PCURRENTWORKSPACE);
|
||||
|
|
Loading…
Reference in New Issue