From 5ba33f846129f3e6c0505b19f94634b24505e828 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Sun, 26 Apr 2026 15:16:36 +0100 Subject: config/lua: init lua config manager, use lua if available (#13817) Adds a new lua config manager, which will automatically be used if there is a lua config present. --- src/desktop/rule/windowRule/WindowRuleApplicator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/desktop/rule/windowRule/WindowRuleApplicator.cpp') diff --git a/src/desktop/rule/windowRule/WindowRuleApplicator.cpp b/src/desktop/rule/windowRule/WindowRuleApplicator.cpp index 4af0d2ba..ad6f9e62 100644 --- a/src/desktop/rule/windowRule/WindowRuleApplicator.cpp +++ b/src/desktop/rule/windowRule/WindowRuleApplicator.cpp @@ -255,7 +255,7 @@ CWindowRuleApplicator::SRuleResult CWindowRuleApplicator::applyDynamicRule(const } case WINDOW_RULE_EFFECT_MAX_SIZE: { try { - static auto PCLAMP_TILED = CConfigValue("misc:size_limits_tiled"); + static auto PCLAMP_TILED = CConfigValue("misc:size_limits_tiled"); if (!m_window) break; @@ -280,7 +280,7 @@ CWindowRuleApplicator::SRuleResult CWindowRuleApplicator::applyDynamicRule(const } case WINDOW_RULE_EFFECT_MIN_SIZE: { try { - static auto PCLAMP_TILED = CConfigValue("misc:size_limits_tiled"); + static auto PCLAMP_TILED = CConfigValue("misc:size_limits_tiled"); if (!m_window) break; -- cgit v1.2.3