mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 00:09:49 +01:00
monitors: set special monitor ID on open
This commit is contained in:
parent
ae82c3a639
commit
412d46ff65
1 changed files with 2 additions and 1 deletions
|
@ -565,7 +565,8 @@ void CMonitor::setSpecialWorkspace(CWorkspace* const pWorkspace) {
|
|||
}
|
||||
|
||||
// open special
|
||||
specialWorkspaceID = pWorkspace->m_iID;
|
||||
pWorkspace->m_iMonitorID = ID;
|
||||
specialWorkspaceID = pWorkspace->m_iID;
|
||||
pWorkspace->startAnim(true, true);
|
||||
|
||||
g_pLayoutManager->getCurrentLayout()->recalculateMonitor(ID);
|
||||
|
|
Loading…
Reference in a new issue