summaryrefslogtreecommitdiff
path: root/src/desktop/rule/windowRule/WindowRuleApplicator.hpp
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2026-01-01 21:49:57 +0100
committerGitHub <noreply@github.com>2026-01-01 21:49:57 +0100
commit31d3181e1ee91e338fb4fb8207d64b8d689310fc (patch)
tree71b00156665fe38d755f130712156e5537220ee5 /src/desktop/rule/windowRule/WindowRuleApplicator.hpp
parent9b93d621b1019e8378b8a902edb7ba8dd8baf204 (diff)
dekstop/window: read static rules before guessing initial size if possible (#12783)
Diffstat (limited to 'src/desktop/rule/windowRule/WindowRuleApplicator.hpp')
-rw-r--r--src/desktop/rule/windowRule/WindowRuleApplicator.hpp3
1 files changed, 1 insertions, 2 deletions
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<eRuleProperty> props);
std::unordered_set<CWindowRuleEffectContainer::storageType> resetProps(std::underlying_type_t<eRuleProperty> props,
Types::eOverridePriority prio = Types::PRIORITY_WINDOW_RULE);
- void readStaticRules();
- void applyStaticRules();
+ void readStaticRules(bool preRead = false);
// static props
struct {