core: Add null activeWorkspace check in moveWorkspaceToMonitor (#9503)
This commit is contained in:
parent
d5920bc5da
commit
34f2a4713e
1 changed files with 2 additions and 1 deletions
|
|
@ -2210,6 +2210,7 @@ void CCompositor::moveWorkspaceToMonitor(PHLWORKSPACE pWorkspace, PHLMONITOR pMo
|
||||||
// finalize
|
// finalize
|
||||||
if (POLDMON) {
|
if (POLDMON) {
|
||||||
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(POLDMON->ID);
|
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(POLDMON->ID);
|
||||||
|
if (valid(POLDMON->activeWorkspace))
|
||||||
updateFullscreenFadeOnWorkspace(POLDMON->activeWorkspace);
|
updateFullscreenFadeOnWorkspace(POLDMON->activeWorkspace);
|
||||||
updateSuspendedStates();
|
updateSuspendedStates();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue