From f815a33f64e72c29fb87f9fed74ec4479dc434dc Mon Sep 17 00:00:00 2001 From: Vaxry Date: Fri, 5 Apr 2024 16:57:46 +0100 Subject: [PATCH] workspace: remove monitor and visible flags on inert --- src/desktop/Workspace.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/desktop/Workspace.cpp b/src/desktop/Workspace.cpp index cb27242f7..80da27494 100644 --- a/src/desktop/Workspace.cpp +++ b/src/desktop/Workspace.cpp @@ -411,8 +411,10 @@ bool CWorkspace::matchesStaticSelector(const std::string& selector_) { } void CWorkspace::markInert() { - m_bInert = true; - m_iID = WORKSPACE_INVALID; + m_bInert = true; + m_iID = WORKSPACE_INVALID; + m_iMonitorID = -1; + m_bVisible = false; } bool CWorkspace::inert() {