mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-05-13 15:20:36 +01:00
socket2: add activespecialv2 (#9530)
This commit is contained in:
parent
d7e7a29261
commit
b51ab182ae
1 changed files with 3 additions and 0 deletions
|
@ -1095,6 +1095,7 @@ void CMonitor::setSpecialWorkspace(const PHLWORKSPACE& pWorkspace) {
|
||||||
activeSpecialWorkspace->m_bVisible = false;
|
activeSpecialWorkspace->m_bVisible = false;
|
||||||
activeSpecialWorkspace->startAnim(false, false);
|
activeSpecialWorkspace->startAnim(false, false);
|
||||||
g_pEventManager->postEvent(SHyprIPCEvent{"activespecial", "," + szName});
|
g_pEventManager->postEvent(SHyprIPCEvent{"activespecial", "," + szName});
|
||||||
|
g_pEventManager->postEvent(SHyprIPCEvent{"activespecialv2", ",," + szName});
|
||||||
}
|
}
|
||||||
activeSpecialWorkspace.reset();
|
activeSpecialWorkspace.reset();
|
||||||
|
|
||||||
|
@ -1128,6 +1129,7 @@ void CMonitor::setSpecialWorkspace(const PHLWORKSPACE& pWorkspace) {
|
||||||
PMWSOWNER->activeSpecialWorkspace.reset();
|
PMWSOWNER->activeSpecialWorkspace.reset();
|
||||||
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(PMWSOWNER->ID);
|
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(PMWSOWNER->ID);
|
||||||
g_pEventManager->postEvent(SHyprIPCEvent{"activespecial", "," + PMWSOWNER->szName});
|
g_pEventManager->postEvent(SHyprIPCEvent{"activespecial", "," + PMWSOWNER->szName});
|
||||||
|
g_pEventManager->postEvent(SHyprIPCEvent{"activespecialv2", ",," + PMWSOWNER->szName});
|
||||||
|
|
||||||
const auto PACTIVEWORKSPACE = PMWSOWNER->activeWorkspace;
|
const auto PACTIVEWORKSPACE = PMWSOWNER->activeWorkspace;
|
||||||
g_pCompositor->updateFullscreenFadeOnWorkspace(PACTIVEWORKSPACE);
|
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{"activespecial", pWorkspace->m_szName + "," + szName});
|
||||||
|
g_pEventManager->postEvent(SHyprIPCEvent{"activespecialv2", pWorkspace->m_iID + "," + pWorkspace->m_szName + "," + szName});
|
||||||
|
|
||||||
g_pHyprRenderer->damageMonitor(self.lock());
|
g_pHyprRenderer->damageMonitor(self.lock());
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue