summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
diff options
context:
space:
mode:
authorTheOnlyMrCat <theonly@mrcat.au>2024-04-11 21:41:18 +1000
committerGitHub <noreply@github.com>2024-04-11 12:41:18 +0100
commit47e5b41fead236026ff7630689e677e854531c41 (patch)
tree2e32dbfa77e16872d9f526e9a0c53950226c5208 /src/config/ConfigManager.cpp
parentac0f3411c18497a39498b756b711e092512de9e0 (diff)
renderer: Add dimaround layer rule (#4643)
Diffstat (limited to 'src/config/ConfigManager.cpp')
-rw-r--r--src/config/ConfigManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index 606d667b..30cbb770 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -1949,8 +1949,8 @@ bool windowRuleValid(const std::string& RULE) {
}
bool layerRuleValid(const std::string& RULE) {
- return RULE == "noanim" || RULE == "blur" || RULE == "blurpopups" || RULE.starts_with("ignorealpha") || RULE.starts_with("ignorezero") || RULE.starts_with("xray") ||
- RULE.starts_with("animation");
+ return RULE == "noanim" || RULE == "blur" || RULE == "blurpopups" || RULE.starts_with("ignorealpha") || RULE.starts_with("ignorezero") || RULE == "dimaround" ||
+ RULE.starts_with("xray") || RULE.starts_with("animation");
}
std::optional<std::string> CConfigManager::handleWindowRule(const std::string& command, const std::string& value) {