summaryrefslogtreecommitdiff
path: root/src/desktop/Workspace.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-04-05 16:57:46 +0100
committerVaxry <vaxry@vaxry.net>2024-04-05 16:57:49 +0100
commitf815a33f64e72c29fb87f9fed74ec4479dc434dc (patch)
tree11bd1520a32f9ecf8d84f2aad7a97d54c2934d43 /src/desktop/Workspace.cpp
parent0051b078a1af50e0c94b0722d8c757d4e1523bfc (diff)
workspace: remove monitor and visible flags on inert
Diffstat (limited to 'src/desktop/Workspace.cpp')
-rw-r--r--src/desktop/Workspace.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/desktop/Workspace.cpp b/src/desktop/Workspace.cpp
index cb27242f..80da2749 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() {