diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-12-17 01:57:35 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-12-17 01:57:35 +0000 |
| commit | 4b6163aef38d19e3489f563c80828e7174e939e8 (patch) | |
| tree | 9d141176aa63480703689021311b7d1b8fe8072d /src/desktop/WindowRule.cpp | |
| parent | 788ae588979c2a1ff8a660f16e3c502ef5796755 (diff) | |
windowrules: fixup duplicate rule enum tags
fixes #8746
Diffstat (limited to 'src/desktop/WindowRule.cpp')
| -rw-r--r-- | src/desktop/WindowRule.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/desktop/WindowRule.cpp b/src/desktop/WindowRule.cpp index d721c4bd..4f2d949e 100644 --- a/src/desktop/WindowRule.cpp +++ b/src/desktop/WindowRule.cpp @@ -41,8 +41,6 @@ CWindowRule::CWindowRule(const std::string& rule, const std::string& value, bool ruleType = RULE_ANIMATION; else if (rule.starts_with("bordercolor")) ruleType = RULE_BORDERCOLOR; - else if (rule.starts_with("bordersize")) - ruleType = RULE_BORDERSIZE; else if (rule.starts_with("center")) ruleType = RULE_CENTER; else if (rule.starts_with("fullscreenstate")) @@ -65,12 +63,6 @@ CWindowRule::CWindowRule(const std::string& rule, const std::string& value, bool ruleType = RULE_PLUGIN; else if (rule.starts_with("pseudo")) ruleType = RULE_PSEUDO; - else if (rule.starts_with("rounding")) - ruleType = RULE_ROUNDING; - else if (rule.starts_with("scrollmouse")) - ruleType = RULE_SCROLLMOUSE; - else if (rule.starts_with("scrolltouchpad")) - ruleType = RULE_SCROLLTOUCHPAD; else if (rule.starts_with("size")) ruleType = RULE_SIZE; else if (rule.starts_with("suppressevent")) @@ -79,8 +71,6 @@ CWindowRule::CWindowRule(const std::string& rule, const std::string& value, bool ruleType = RULE_TAG; else if (rule.starts_with("workspace")) ruleType = RULE_WORKSPACE; - else if (rule.starts_with("xray")) - ruleType = RULE_XRAY; else if (rule.starts_with("prop")) ruleType = RULE_PROP; else { |
