diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-09-02 23:56:22 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-09-02 23:56:22 +0200 |
| commit | 5d09bb647bb698d3a6cb25aeb01abb1f0522f5c6 (patch) | |
| tree | 19f4db15df457ba0ecbed299463dd24141f7168e /src/managers/KeybindManager.cpp | |
| parent | f5697095bc11a10ac260849d7685240538880153 (diff) | |
fix up styling
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 4abf1e76..0ce15781 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -577,10 +577,7 @@ void CKeybindManager::changeworkspace(std::string args) { const auto PCURRENTWORKSPACE = g_pCompositor->getWorkspaceByID( g_pCompositor->m_pLastMonitor->activeWorkspace); static auto *const PBACKANDFORTH = &g_pConfigManager->getConfigValuePtr("binds:workspace_back_and_forth")->intValue; - if (*PBACKANDFORTH - && PCURRENTWORKSPACE->m_iID == workspaceToChangeTo - && PCURRENTWORKSPACE->m_iPrevWorkspaceID != -1 - && !internal) { + if (*PBACKANDFORTH && PCURRENTWORKSPACE->m_iID == workspaceToChangeTo && PCURRENTWORKSPACE->m_iPrevWorkspaceID != -1 && !internal) { workspaceToChangeTo = PCURRENTWORKSPACE->m_iPrevWorkspaceID; isSwitchingToPrevious = true; |
