summaryrefslogtreecommitdiff
path: root/src/desktop/rule/windowRule/WindowRuleEffectContainer.cpp
diff options
context:
space:
mode:
authorItsOhen <TNordfeldt@gmail.com>2026-03-17 17:43:53 +0100
committerGitHub <noreply@github.com>2026-03-17 12:43:53 -0400
commit9f599e316504943eec5d2fa854f7c99c575616b7 (patch)
tree58041f7feb19ca8e022ae3639524b7c51ef05427 /src/desktop/rule/windowRule/WindowRuleEffectContainer.cpp
parent35ef8dc1f7abb3e7139de5f8831ca2b0d81da78c (diff)
window/rules: add scrolling_width (#13754)
Diffstat (limited to 'src/desktop/rule/windowRule/WindowRuleEffectContainer.cpp')
-rw-r--r--src/desktop/rule/windowRule/WindowRuleEffectContainer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/desktop/rule/windowRule/WindowRuleEffectContainer.cpp b/src/desktop/rule/windowRule/WindowRuleEffectContainer.cpp
index 660bf871..66867247 100644
--- a/src/desktop/rule/windowRule/WindowRuleEffectContainer.cpp
+++ b/src/desktop/rule/windowRule/WindowRuleEffectContainer.cpp
@@ -28,6 +28,7 @@ static const std::vector<std::string> EFFECT_STRINGS = {
"suppress_event", //
"content", //
"no_close_for", //
+ "scrolling_width", //
"rounding", //
"rounding_power", //
"persistent_size", //
@@ -69,7 +70,7 @@ static const std::vector<std::string> EFFECT_STRINGS = {
// This is here so that if we change the rules, we get reminded to update
// the strings.
-static_assert(WINDOW_RULE_EFFECT_LAST_STATIC == 54);
+static_assert(WINDOW_RULE_EFFECT_LAST_STATIC == 55);
CWindowRuleEffectContainer::CWindowRuleEffectContainer() : IEffectContainer<eWindowRuleEffect>(std::vector<std::string>{EFFECT_STRINGS}) {
;