monitors: set special monitor ID on open

This commit is contained in:
vaxerski 2023-04-17 22:58:59 +01:00
parent ae82c3a639
commit 412d46ff65

View file

@ -565,7 +565,8 @@ void CMonitor::setSpecialWorkspace(CWorkspace* const pWorkspace) {
} }
// open special // open special
specialWorkspaceID = pWorkspace->m_iID; pWorkspace->m_iMonitorID = ID;
specialWorkspaceID = pWorkspace->m_iID;
pWorkspace->startAnim(true, true); pWorkspace->startAnim(true, true);
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(ID); g_pLayoutManager->getCurrentLayout()->recalculateMonitor(ID);