diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-09-03 22:49:45 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-09-03 22:49:52 +0200 |
| commit | fbd2b4799d9c205cb0283432ef9ae3778ff68aa7 (patch) | |
| tree | 0a0218744729b4c63e698144a7f6a17cb9c5cab5 /src/managers/KeybindManager.cpp | |
| parent | 1664f81cae6bd0e159de835f09d4f0d7105fe07e (diff) | |
Fix some more crimes against humanity
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index edb6cfde..e7acc23c 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -1207,16 +1207,12 @@ void CKeybindManager::toggleSpecialWorkspace(std::string args) { Debug::log(LOG, "Toggling special workspace to open"); if (open) { - uint64_t monID = -1; - for (auto& m : g_pCompositor->m_vMonitors) { if (m->specialWorkspaceOpen != !open) { m->specialWorkspaceOpen = !open; g_pLayoutManager->getCurrentLayout()->recalculateMonitor(m->ID); g_pCompositor->getWorkspaceByID(SPECIAL_WORKSPACE_ID)->startAnim(false, false); - - monID = m->ID; } } |
