Skip to content

Commit

Permalink
fix: change P_TARGET to P_CREATED_TARGET
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesEkkel committed Jul 12, 2022
1 parent 323760b commit 89881d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compositor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 89881d6

Please sign in to comment.