summaryrefslogtreecommitdiff
path: root/src/helpers/Monitor.cpp
diff options
context:
space:
mode:
authorthejch <66577496+thejch@users.noreply.github.com>2024-04-13 06:39:20 -0700
committerGitHub <noreply@github.com>2024-04-13 14:39:20 +0100
commitd96501442fb3bbec129e74e26f379898f15881e2 (patch)
tree282d57d4f4dc160562d69e490c24b848e3af7feb /src/helpers/Monitor.cpp
parent582d6233c802327fea45a14d146e7cbab5fe4b1e (diff)
core: Fix double special workspace (#5574)
* fix double special name * fix special on another monitor * remove extra stuff
Diffstat (limited to 'src/helpers/Monitor.cpp')
-rw-r--r--src/helpers/Monitor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp
index 196492c1..ceb021c8 100644
--- a/src/helpers/Monitor.cpp
+++ b/src/helpers/Monitor.cpp
@@ -545,7 +545,7 @@ void CMonitor::changeWorkspace(const PHLWORKSPACE& pWorkspace, bool internal, bo
if (pWorkspace->m_bIsSpecialWorkspace) {
if (activeSpecialWorkspace != pWorkspace) {
Debug::log(LOG, "changeworkspace on special, togglespecialworkspace to id {}", pWorkspace->m_iID);
- g_pKeybindManager->m_mDispatchers["togglespecialworkspace"](pWorkspace->m_szName == "special" ? "" : pWorkspace->m_szName);
+ setSpecialWorkspace(pWorkspace);
}
return;
}