summaryrefslogtreecommitdiff
path: root/src/config/shared/workspace/WorkspaceRule.hpp
diff options
context:
space:
mode:
authorshezdy <77217897+shezdy@users.noreply.github.com>2026-04-30 13:10:03 -0600
committerGitHub <noreply@github.com>2026-04-30 20:10:03 +0100
commit546cc71565cd2ccd9277febb14dcebf513ace623 (patch)
treefe0cbe8e7e415f77158965cd11925572efc30fb7 /src/config/shared/workspace/WorkspaceRule.hpp
parentbac49db9a11d5398963f4ad3265a577f8e94dc66 (diff)
config/workspace-rules: support modifying persistent and monitor (#14217)
* workspace rules: support modifying persistent and monitor * support modifying isDefault
Diffstat (limited to 'src/config/shared/workspace/WorkspaceRule.hpp')
-rw-r--r--src/config/shared/workspace/WorkspaceRule.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/shared/workspace/WorkspaceRule.hpp b/src/config/shared/workspace/WorkspaceRule.hpp
index 5d63e434..e56a1366 100644
--- a/src/config/shared/workspace/WorkspaceRule.hpp
+++ b/src/config/shared/workspace/WorkspaceRule.hpp
@@ -27,8 +27,8 @@ namespace Config {
std::string m_workspaceString = "";
std::string m_workspaceName = "";
WORKSPACEID m_workspaceId = -1;
- bool m_isDefault = false;
- bool m_isPersistent = false;
+ std::optional<bool> m_isDefault;
+ std::optional<bool> m_isPersistent;
std::optional<CCssGapData> m_gapsIn;
std::optional<CCssGapData> m_gapsOut;
std::optional<CCssGapData> m_floatGaps = m_gapsOut;