summaryrefslogtreecommitdiff
path: root/src/desktop/WindowRule.hpp
diff options
context:
space:
mode:
authordavc0n <dconti.dev@gmail.com>2025-04-28 22:25:22 +0200
committerGitHub <noreply@github.com>2025-04-28 22:25:22 +0200
commit21184404885cf61f7c10d2eb749478ef6b035dd2 (patch)
tree38f1103d3e5f0188d149b7dd5d961ba64c2ed044 /src/desktop/WindowRule.hpp
parentc505eb55ff967f2a0474e88a50803412ba550a61 (diff)
windows: refactor class member vars (#10168)
Diffstat (limited to 'src/desktop/WindowRule.hpp')
-rw-r--r--src/desktop/WindowRule.hpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/desktop/WindowRule.hpp b/src/desktop/WindowRule.hpp
index 465ddbb1..084c67f9 100644
--- a/src/desktop/WindowRule.hpp
+++ b/src/desktop/WindowRule.hpp
@@ -40,33 +40,33 @@ class CWindowRule {
RULE_PERSISTENTSIZE
};
- eRuleType ruleType = RULE_INVALID;
+ eRuleType m_ruleType = RULE_INVALID;
- const std::string szValue;
- const std::string szRule;
- const bool v2 = false;
- const bool execRule = false;
+ const std::string m_value;
+ const std::string m_rule;
+ const bool m_v2 = false;
+ const bool m_execRule = false;
- std::string szTitle;
- std::string szClass;
- std::string szInitialTitle;
- std::string szInitialClass;
- std::string szTag;
- int bX11 = -1; // -1 means "ANY"
- int bFloating = -1;
- int bFullscreen = -1;
- int bPinned = -1;
- int bFocus = -1;
- std::string szFullscreenState = ""; // empty means any
- std::string szOnWorkspace = ""; // empty means any
- std::string szWorkspace = ""; // empty means any
- std::string szContentType = ""; // empty means any
- std::string szXdgTag = ""; // empty means any
+ std::string m_title;
+ std::string m_class;
+ std::string m_initialTitle;
+ std::string m_initialClass;
+ std::string m_tag;
+ int m_X11 = -1; // -1 means "ANY"
+ int m_floating = -1;
+ int m_fullscreen = -1;
+ int m_pinned = -1;
+ int m_focus = -1;
+ std::string m_fullscreenState = ""; // empty means any
+ std::string m_onWorkspace = ""; // empty means any
+ std::string m_workspace = ""; // empty means any
+ std::string m_contentType = ""; // empty means any
+ std::string m_xdgTag = ""; // empty means any
// precompiled regexes
- CRuleRegexContainer rTitle;
- CRuleRegexContainer rClass;
- CRuleRegexContainer rInitialTitle;
- CRuleRegexContainer rInitialClass;
- CRuleRegexContainer rV1Regex;
+ CRuleRegexContainer m_titleRegex;
+ CRuleRegexContainer m_classRegex;
+ CRuleRegexContainer m_initialTitleRegex;
+ CRuleRegexContainer m_initialClassRegex;
+ CRuleRegexContainer m_v1Regex;
}; \ No newline at end of file