diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-04-21 22:22:06 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-04-21 22:30:27 +0100 |
| commit | a4f7d7c594c70408f299ec8b794211c534709eaa (patch) | |
| tree | 1365c77e4789f054550876a1720b2aa890271f04 /src/desktop/WindowRule.hpp | |
| parent | 55e953b383f6b658b20ede1fea7772d2a88e7c65 (diff) | |
protocols: add xdg_toplevel_tag_v1 support
Adds a new windowrule to target windows by xdgTag, xdgtag:
Diffstat (limited to 'src/desktop/WindowRule.hpp')
| -rw-r--r-- | src/desktop/WindowRule.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/desktop/WindowRule.hpp b/src/desktop/WindowRule.hpp index 192d8aa7..465ddbb1 100644 --- a/src/desktop/WindowRule.hpp +++ b/src/desktop/WindowRule.hpp @@ -37,7 +37,7 @@ class CWindowRule { RULE_WORKSPACE, RULE_PROP, RULE_CONTENT, - RULE_PERSISTENTSIZE, + RULE_PERSISTENTSIZE }; eRuleType ruleType = RULE_INVALID; @@ -61,6 +61,7 @@ class CWindowRule { std::string szOnWorkspace = ""; // empty means any std::string szWorkspace = ""; // empty means any std::string szContentType = ""; // empty means any + std::string szXdgTag = ""; // empty means any // precompiled regexes CRuleRegexContainer rTitle; |
