aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-06-12 16:02:19 +0200
committerVaxry <[email protected]>2024-06-12 16:02:25 +0200
commitf687105eff61aebff34669852e7153584286a357 (patch)
tree0eb83f38d0e439e088116aa2544274eec46c8d78 /src/Compositor.cpp
parent32283ed706291255d8e8b5d1249bbc2394bf532f (diff)
downloadHyprland-f687105eff61aebff34669852e7153584286a357.tar.gz
Hyprland-f687105eff61aebff34669852e7153584286a357.zip
compositor: update suspended states on moveworkspacetomonitor
fixes #6417
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 7d33889e..20bc82e7 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -2098,9 +2098,11 @@ void CCompositor::moveWorkspaceToMonitor(PHLWORKSPACE pWorkspace, CMonitor* pMon
if (POLDMON) {
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(POLDMON->ID);
updateFullscreenFadeOnWorkspace(POLDMON->activeWorkspace);
+ updateSuspendedStates();
}
updateFullscreenFadeOnWorkspace(pWorkspace);
+ updateSuspendedStates();
// event
g_pEventManager->postEvent(SHyprIPCEvent{"moveworkspace", pWorkspace->m_szName + "," + pMonitor->szName});