diff options
| author | darkwater <dark@dark.red> | 2024-09-09 11:10:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-09 10:10:08 +0100 |
| commit | 04421063af2941c6e27e6dca2bdc2c387778a3a5 (patch) | |
| tree | 5a8679356e295afb9c59a7fd49c65ef1a57a8f3d /src/config/ConfigManager.cpp | |
| parent | 43e1415e715bb6c6c4ea722ba839210938ac2b07 (diff) | |
config: add order rule for layers (#7697)
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 852994a7..57cd2350 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -2239,7 +2239,7 @@ bool windowRuleValid(const std::string& RULE) { bool layerRuleValid(const std::string& RULE) { static const auto rules = std::unordered_set<std::string>{"noanim", "blur", "blurpopups", "dimaround"}; - static const auto rulesPrefix = std::vector<std::string>{"ignorealpha", "ignorezero", "xray", "animation"}; + static const auto rulesPrefix = std::vector<std::string>{"ignorealpha", "ignorezero", "xray", "animation", "order"}; return rules.contains(RULE) || std::any_of(rulesPrefix.begin(), rulesPrefix.end(), [&RULE](auto prefix) { return RULE.starts_with(prefix); }); } |
