mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 17:46:00 +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 (BISWORKSPACECURRENT) {
|
||||||
if (*PALLOWWORKSPACECYCLES)
|
if (*PALLOWWORKSPACECYCLES)
|
||||||
pWorkspaceToChangeTo->rememberPrevWorkspace(PCURRENTWORKSPACE);
|
pWorkspaceToChangeTo->rememberPrevWorkspace(PCURRENTWORKSPACE);
|
||||||
else if (!EXPLICITPREVIOUS)
|
else if (!EXPLICITPREVIOUS && !*PBACKANDFORTH)
|
||||||
pWorkspaceToChangeTo->rememberPrevWorkspace(nullptr);
|
pWorkspaceToChangeTo->rememberPrevWorkspace(nullptr);
|
||||||
} else
|
} else
|
||||||
pWorkspaceToChangeTo->rememberPrevWorkspace(PCURRENTWORKSPACE);
|
pWorkspaceToChangeTo->rememberPrevWorkspace(PCURRENTWORKSPACE);
|
||||||
|
|
Loading…
Reference in a new issue