windowrules: add border size rule

This commit is contained in:
vaxerski
2023-07-18 00:11:29 +02:00
parent ddb8c89776
commit 2c7b2ad6ca
6 changed files with 17 additions and 5 deletions

View File

@@ -880,7 +880,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 != "stayfocused");
RULE.find("bordercolor") != 0 && RULE != "forcergbx" && RULE != "noinitialfocus" && RULE != "stayfocused" && RULE.find("bordersize") != 0);
}
bool layerRuleValid(const std::string& RULE) {