monitor: damage old special monitor on change
ref https://github.com/hyprwm/Hyprland/discussions/13419
This commit is contained in:
parent
0b55c55f4a
commit
a032090098
1 changed files with 1 additions and 0 deletions
|
|
@ -1462,6 +1462,7 @@ void CMonitor::setSpecialWorkspace(const PHLWORKSPACE& pWorkspace) {
|
|||
if (const auto PMWSOWNER = pWorkspace->m_monitor.lock(); PMWSOWNER && PMWSOWNER->m_activeSpecialWorkspace == pWorkspace) {
|
||||
PMWSOWNER->m_activeSpecialWorkspace.reset();
|
||||
g_layoutManager->recalculateMonitor(PMWSOWNER);
|
||||
g_pHyprRenderer->damageMonitor(PMWSOWNER);
|
||||
g_pEventManager->postEvent(SHyprIPCEvent{"activespecial", "," + PMWSOWNER->m_name});
|
||||
g_pEventManager->postEvent(SHyprIPCEvent{"activespecialv2", ",," + PMWSOWNER->m_name});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue