From b4463e130af349c3a3abbc5d8ffaba23899e545b Mon Sep 17 00:00:00 2001 From: nnyyxxxx Date: Tue, 25 Feb 2025 12:15:25 -0500 Subject: [PATCH] e --- src/desktop/WindowRule.cpp | 2 +- src/desktop/WindowRule.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/desktop/WindowRule.cpp b/src/desktop/WindowRule.cpp index fea2d43b2cf..d767e60fc21 100644 --- a/src/desktop/WindowRule.cpp +++ b/src/desktop/WindowRule.cpp @@ -5,7 +5,7 @@ #include "../config/ConfigManager.hpp" static const auto RULES = std::unordered_set{ - "float", "fullscreen", "maximize", "noinitialfocus", "pin", "stayfocused", "tile", "renderunfocused", + "float", "fullscreen", "maximize", "noinitialfocus", "pin", "stayfocused", "tile", "renderunfocused", "persistentsize", }; static const auto RULES_PREFIX = std::unordered_set{ "animation", "bordercolor", "bordersize", "center", "content", "fullscreenstate", "group", "idleinhibit", "maxsize", "minsize", diff --git a/src/desktop/WindowRule.hpp b/src/desktop/WindowRule.hpp index 50e221f3e8d..192d8aa7125 100644 --- a/src/desktop/WindowRule.hpp +++ b/src/desktop/WindowRule.hpp @@ -37,6 +37,7 @@ class CWindowRule { RULE_WORKSPACE, RULE_PROP, RULE_CONTENT, + RULE_PERSISTENTSIZE, }; eRuleType ruleType = RULE_INVALID;