diff options
| author | Matt White <mail@matt6f.com> | 2025-03-05 12:33:33 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-05 20:33:33 +0100 |
| commit | b51ab182ae3e8d88426af856b59dd28c6a9722ef (patch) | |
| tree | 609e600f41724c5483057adee90e084405186cf3 /src/helpers/Monitor.cpp | |
| parent | d7e7a292613a4f20218074ff8299dff099a80098 (diff) | |
socket2: add activespecialv2 (#9530)
Diffstat (limited to 'src/helpers/Monitor.cpp')
| -rw-r--r-- | src/helpers/Monitor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index c015b47b..da391e50 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -1095,6 +1095,7 @@ void CMonitor::setSpecialWorkspace(const PHLWORKSPACE& pWorkspace) { activeSpecialWorkspace->m_bVisible = false; activeSpecialWorkspace->startAnim(false, false); g_pEventManager->postEvent(SHyprIPCEvent{"activespecial", "," + szName}); + g_pEventManager->postEvent(SHyprIPCEvent{"activespecialv2", ",," + szName}); } activeSpecialWorkspace.reset(); @@ -1128,6 +1129,7 @@ void CMonitor::setSpecialWorkspace(const PHLWORKSPACE& pWorkspace) { PMWSOWNER->activeSpecialWorkspace.reset(); g_pLayoutManager->getCurrentLayout()->recalculateMonitor(PMWSOWNER->ID); g_pEventManager->postEvent(SHyprIPCEvent{"activespecial", "," + PMWSOWNER->szName}); + g_pEventManager->postEvent(SHyprIPCEvent{"activespecialv2", ",," + PMWSOWNER->szName}); const auto PACTIVEWORKSPACE = PMWSOWNER->activeWorkspace; g_pCompositor->updateFullscreenFadeOnWorkspace(PACTIVEWORKSPACE); @@ -1176,6 +1178,7 @@ void CMonitor::setSpecialWorkspace(const PHLWORKSPACE& pWorkspace) { } g_pEventManager->postEvent(SHyprIPCEvent{"activespecial", pWorkspace->m_szName + "," + szName}); + g_pEventManager->postEvent(SHyprIPCEvent{"activespecialv2", pWorkspace->m_iID + "," + pWorkspace->m_szName + "," + szName}); g_pHyprRenderer->damageMonitor(self.lock()); |
