diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-12-21 23:07:23 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-12-21 23:07:34 +0000 |
| commit | 31422ae25dee33dd000798b64a80bd7fd08d2ece (patch) | |
| tree | 43c71511f09159b716435bf6abb4deaaadd0b49a /src/desktop/LayerRule.hpp | |
| parent | 57921d7dbd1b87a9474f609cb9cd30e6174027cd (diff) | |
windowrules: add negative: prefix for negating a regex
fixes #8799
Diffstat (limited to 'src/desktop/LayerRule.hpp')
| -rw-r--r-- | src/desktop/LayerRule.hpp | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/desktop/LayerRule.hpp b/src/desktop/LayerRule.hpp index 117fa6fb..8cdb332e 100644 --- a/src/desktop/LayerRule.hpp +++ b/src/desktop/LayerRule.hpp @@ -2,12 +2,7 @@ #include <string> #include <cstdint> -#include <memory> - -//NOLINTNEXTLINE -namespace re2 { - class RE2; -}; +#include "Rule.hpp" class CLayerRule { public: @@ -27,10 +22,10 @@ class CLayerRule { RULE_ZUMBA, }; - eRuleType ruleType = RULE_INVALID; + eRuleType ruleType = RULE_INVALID; - const std::string targetNamespace; - const std::string rule; + const std::string targetNamespace; + const std::string rule; - std::unique_ptr<re2::RE2> rTargetNamespaceRegex; + CRuleRegexContainer targetNamespaceRegex; };
\ No newline at end of file |
