mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-25 17:21:54 -07:00
core: Add null activeWorkspace check in moveWorkspaceToMonitor (#9503)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user