mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-01 04:31:57 -07:00
core: Add null activeWorkspace check in moveWorkspaceToMonitor (#9503)
This commit is contained in:
@@ -2210,6 +2210,7 @@ void CCompositor::moveWorkspaceToMonitor(PHLWORKSPACE pWorkspace, PHLMONITOR pMo
|
||||
// finalize
|
||||
if (POLDMON) {
|
||||
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(POLDMON->ID);
|
||||
if (valid(POLDMON->activeWorkspace))
|
||||
updateFullscreenFadeOnWorkspace(POLDMON->activeWorkspace);
|
||||
updateSuspendedStates();
|
||||
}
|
||||
|
Reference in New Issue
Block a user