summaryrefslogtreecommitdiff
path: root/src/desktop/rule/windowRule/WindowRuleEffectContainer.cpp
diff options
context:
space:
mode:
authorfazzi <18248986+fxzzi@users.noreply.github.com>2026-05-02 20:34:43 +0100
committerGitHub <noreply@github.com>2026-05-02 20:34:43 +0100
commite180c59b467bad2002efc7770acd4bfd5437da1b (patch)
treecf05591642fae0eb449e6c8466404aa26c48d804 /src/desktop/rule/windowRule/WindowRuleEffectContainer.cpp
parent30cd345addf0412baf87b71ad7213508c534e334 (diff)
desktop/windowRule: add `confine_pointer` window rule (#13379)
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 66867247..3b624c03 100644
--- a/src/desktop/rule/windowRule/WindowRuleEffectContainer.cpp
+++ b/src/desktop/rule/windowRule/WindowRuleEffectContainer.cpp
@@ -65,12 +65,13 @@ static const std::vector<std::string> EFFECT_STRINGS = {
"scroll_mouse", //
"scroll_touchpad", //
"stay_focused", //
+ "confine_pointer", //
"__internal_last_static", //
};
// This is here so that if we change the rules, we get reminded to update
// the strings.
-static_assert(WINDOW_RULE_EFFECT_LAST_STATIC == 55);
+static_assert(WINDOW_RULE_EFFECT_LAST_STATIC == 56);
CWindowRuleEffectContainer::CWindowRuleEffectContainer() : IEffectContainer<eWindowRuleEffect>(std::vector<std::string>{EFFECT_STRINGS}) {
;