From 412d46ff65a5b22abde34f11219e00ce71d22f70 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 17 Apr 2023 22:58:59 +0100 Subject: [PATCH] monitors: set special monitor ID on open --- src/helpers/Monitor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);