renderer: Add dimaround layer rule (#4643)
This commit is contained in:
parent
ac0f3411c1
commit
47e5b41fea
4 changed files with 18 additions and 2 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue