rules: add stayfocused

This commit is contained in:
vaxerski
2023-07-04 12:05:25 +02:00
parent 6f91997f06
commit 18f9fb5e0f
6 changed files with 34 additions and 6 deletions

View File

@@ -870,7 +870,7 @@ bool windowRuleValid(const std::string& RULE) {
RULE != "noshadow" && RULE != "nodim" && RULE != "noborder" && RULE != "center" && RULE != "opaque" && RULE != "forceinput" && RULE != "fullscreen" &&
RULE != "nofullscreenrequest" && RULE != "fakefullscreen" && RULE != "nomaxsize" && RULE != "pin" && RULE != "noanim" && RULE != "dimaround" &&
RULE != "windowdance" && RULE != "maximize" && RULE.find("animation") != 0 && RULE.find("rounding") != 0 && RULE.find("workspace") != 0 &&
RULE.find("bordercolor") != 0 && RULE != "forcergbx" && RULE != "noinitialfocus");
RULE.find("bordercolor") != 0 && RULE != "forcergbx" && RULE != "noinitialfocus" && RULE != "stayfocused");
}
bool layerRuleValid(const std::string& RULE) {