summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-02-14 22:19:49 +0000
committerVaxry <vaxry@vaxry.net>2024-02-14 22:19:49 +0000
commit7f52db806c149cb3331d6567706e7c19f5a8b692 (patch)
tree7068c594e615d563eba5257d1cffc89f7d649dac /src/config
parent305b1419c8ff463836324168946bc34417dc0310 (diff)
windowrules: add suppressevent
deprecates nofullscreenrequest nomaximizerequest
Diffstat (limited to 'src/config')
-rw-r--r--src/config/ConfigManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index fa9e0122..97bc647c 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -971,7 +971,7 @@ bool windowRuleValid(const std::string& RULE) {
RULE == "nomaximizerequest" || RULE == "fakefullscreen" || RULE == "nomaxsize" || RULE == "pin" || RULE == "noanim" || RULE == "dimaround" || RULE == "windowdance" ||
RULE == "maximize" || RULE == "keepaspectratio" || RULE.starts_with("animation") || RULE.starts_with("rounding") || RULE.starts_with("workspace") ||
RULE.starts_with("bordercolor") || RULE == "forcergbx" || RULE == "noinitialfocus" || RULE == "stayfocused" || RULE.starts_with("bordersize") || RULE.starts_with("xray") ||
- RULE.starts_with("center") || RULE.starts_with("group") || RULE == "immediate" || RULE == "nearestneighbor";
+ RULE.starts_with("center") || RULE.starts_with("group") || RULE == "immediate" || RULE == "nearestneighbor" || RULE.starts_with("suppressevent");
}
bool layerRuleValid(const std::string& RULE) {