mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 06:45:59 +01:00
keybindmgr: fix workspace_back_and_forth (#5585)
This commit is contained in:
parent
0634aaeac6
commit
83ab0f2d66
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue