mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 08:45:58 +01:00
compositor: update suspended states on moveworkspacetomonitor
fixes #6417
This commit is contained in:
parent
32283ed706
commit
f687105eff
1 changed files with 2 additions and 0 deletions
|
@ -2098,9 +2098,11 @@ void CCompositor::moveWorkspaceToMonitor(PHLWORKSPACE pWorkspace, CMonitor* pMon
|
||||||
if (POLDMON) {
|
if (POLDMON) {
|
||||||
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(POLDMON->ID);
|
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(POLDMON->ID);
|
||||||
updateFullscreenFadeOnWorkspace(POLDMON->activeWorkspace);
|
updateFullscreenFadeOnWorkspace(POLDMON->activeWorkspace);
|
||||||
|
updateSuspendedStates();
|
||||||
}
|
}
|
||||||
|
|
||||||
updateFullscreenFadeOnWorkspace(pWorkspace);
|
updateFullscreenFadeOnWorkspace(pWorkspace);
|
||||||
|
updateSuspendedStates();
|
||||||
|
|
||||||
// event
|
// event
|
||||||
g_pEventManager->postEvent(SHyprIPCEvent{"moveworkspace", pWorkspace->m_szName + "," + pMonitor->szName});
|
g_pEventManager->postEvent(SHyprIPCEvent{"moveworkspace", pWorkspace->m_szName + "," + pMonitor->szName});
|
||||||
|
|
Loading…
Reference in a new issue