core: Add null activeWorkspace check in moveWorkspaceToMonitor (#9503)

This commit is contained in:
Lee Bousfield
2025-02-27 19:52:23 -06:00
committed by GitHub
parent d5920bc5da
commit 34f2a4713e

View File

@@ -2210,7 +2210,8 @@ void CCompositor::moveWorkspaceToMonitor(PHLWORKSPACE pWorkspace, PHLMONITOR pMo
// finalize
if (POLDMON) {
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(POLDMON->ID);
updateFullscreenFadeOnWorkspace(POLDMON->activeWorkspace);
if (valid(POLDMON->activeWorkspace))
updateFullscreenFadeOnWorkspace(POLDMON->activeWorkspace);
updateSuspendedStates();
}