mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-03 05:31:59 -07:00
monitors: set special monitor ID on open
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user