Skip to content

Commit

Permalink
keybindmgr: fix workspace_back_and_forth (#5585)
Browse files Browse the repository at this point in the history
  • Loading branch information
go0d1uck authored Apr 14, 2024
1 parent 0634aae commit 83ab0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/managers/KeybindManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 83ab0f2

Please sign in to comment.