diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-12-07 10:46:12 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-12-07 10:46:12 +0000 |
| commit | a794eecd6a71e431b654cebb1b28dbff0d6da079 (patch) | |
| tree | 5b1facf294a695159680a6aed4df0b0c74ffc9f0 /src/managers/KeybindManager.cpp | |
| parent | d36055054651442db19df046cbdd0697b805c541 (diff) | |
README: add note about hyprpm + clang-format
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index 9bf05a35..2046b867 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -800,13 +800,13 @@ void CKeybindManager::changeworkspace(std::string args) { static auto* const PALLOWWORKSPACECYCLES = &g_pConfigManager->getConfigValuePtr("binds:allow_workspace_cycles")->intValue; static auto* const PWORKSPACECENTERON = &g_pConfigManager->getConfigValuePtr("binds:workspace_center_on")->intValue; - const auto PMONITOR = g_pCompositor->m_pLastMonitor; + const auto PMONITOR = g_pCompositor->m_pLastMonitor; if (!PMONITOR) return; - const auto PCURRENTWORKSPACE = g_pCompositor->getWorkspaceByID(PMONITOR->activeWorkspace); - const bool EXPLICITPREVIOUS = args.starts_with("previous"); + const auto PCURRENTWORKSPACE = g_pCompositor->getWorkspaceByID(PMONITOR->activeWorkspace); + const bool EXPLICITPREVIOUS = args.starts_with("previous"); if (args.starts_with("previous")) { // Do nothing if there's no previous workspace, otherwise switch to it. |
