Skip to content

Commit

Permalink
compositor: update suspended states on moveworkspacetomonitor
Browse files Browse the repository at this point in the history
fixes #6417
  • Loading branch information
vaxerski committed Jun 12, 2024
1 parent 32283ed commit f687105
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Compositor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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});
Expand Down

0 comments on commit f687105

Please sign in to comment.