diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-17 22:58:59 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-17 22:58:59 +0100 |
| commit | 412d46ff65a5b22abde34f11219e00ce71d22f70 (patch) | |
| tree | 1c4af5e21b1d70546e7353768c5ad066b2d693c7 /src/helpers/Monitor.cpp | |
| parent | ae82c3a639691c8c9ce9d631e18d74772c36b113 (diff) | |
monitors: set special monitor ID on open
Diffstat (limited to 'src/helpers/Monitor.cpp')
| -rw-r--r-- | src/helpers/Monitor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index a060665b..2bece44a 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -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); |
