From 89881d60261578bcd3700c56a57dd2bb63d6cfc0 Mon Sep 17 00:00:00 2001 From: Charles Taylor Date: Tue, 12 Jul 2022 12:28:52 +1000 Subject: [PATCH] fix: change P_TARGET to P_CREATED_TARGET --- src/Compositor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 355724cc11db..a4c4e7eee4f2 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -844,7 +844,7 @@ void CCompositor::changeWorkspace(const int TENTATIVE_TARGET_ID, const std::stri P_TARGET_MONITOR->specialWorkspaceOpen = false; // Handle special workspace case. - if (!P_TARGET->m_bIsSpecialWorkspace) + if (!P_CREATED_TARGET->m_bIsSpecialWorkspace) P_TARGET_MONITOR->activeWorkspace = P_CREATED_TARGET->m_iID; else P_TARGET_MONITOR->specialWorkspaceOpen = true;