From 31d3181e1ee91e338fb4fb8207d64b8d689310fc Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Thu, 1 Jan 2026 21:49:57 +0100 Subject: dekstop/window: read static rules before guessing initial size if possible (#12783) --- src/desktop/rule/windowRule/WindowRuleApplicator.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/desktop/rule/windowRule/WindowRuleApplicator.hpp') diff --git a/src/desktop/rule/windowRule/WindowRuleApplicator.hpp b/src/desktop/rule/windowRule/WindowRuleApplicator.hpp index 121de727..5c1d4fd1 100644 --- a/src/desktop/rule/windowRule/WindowRuleApplicator.hpp +++ b/src/desktop/rule/windowRule/WindowRuleApplicator.hpp @@ -33,8 +33,7 @@ namespace Desktop::Rule { void propertiesChanged(std::underlying_type_t props); std::unordered_set resetProps(std::underlying_type_t props, Types::eOverridePriority prio = Types::PRIORITY_WINDOW_RULE); - void readStaticRules(); - void applyStaticRules(); + void readStaticRules(bool preRead = false); // static props struct { -- cgit v1.2.3