diff options
| author | vaxerski <vaxry@vaxry.net> | 2023-08-09 22:03:24 +0200 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2023-08-09 22:03:31 +0200 |
| commit | cbb899740cd80dfd29afeb5426c60e6b41a23669 (patch) | |
| tree | c7053a32750448e7d84a7d13a1b874d423c4ac21 /src/config/ConfigManager.cpp | |
| parent | fe9453c6432ccdb3935ff6e9aa32f9d985aff577 (diff) | |
rules: add layer and window xray rules
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 461956a2..0723ad24 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -889,11 +889,11 @@ bool windowRuleValid(const std::string& RULE) { RULE != "nofullscreenrequest" && RULE != "nomaximizerequest" && RULE != "fakefullscreen" && RULE != "nomaxsize" && RULE != "pin" && RULE != "noanim" && RULE != "dimaround" && RULE != "windowdance" && RULE != "maximize" && RULE != "keepaspectratio" && RULE.find("animation") != 0 && RULE.find("rounding") != 0 && RULE.find("workspace") != 0 && RULE.find("bordercolor") != 0 && RULE != "forcergbx" && RULE != "noinitialfocus" && RULE != "stayfocused" && - RULE.find("bordersize") != 0); + RULE.find("bordersize") != 0 && RULE.find("xray") != 0); } bool layerRuleValid(const std::string& RULE) { - return !(RULE != "noanim" && RULE != "blur" && RULE.find("ignorealpha") != 0 && RULE.find("ignorezero") != 0); + return !(RULE != "noanim" && RULE != "blur" && RULE.find("ignorealpha") != 0 && RULE.find("ignorezero") != 0 && RULE.find("xray") != 0); } void CConfigManager::handleWindowRule(const std::string& command, const std::string& value) { |
