From 8726a7363eb9213235e6e23657668e0daac39a5b Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Fri, 20 Mar 2026 13:52:37 -0400 Subject: config: cleanup the entire config infrastructure (#13785) Massively refactors the config infrastructure, sorely needed and will be req'd for the lua stuff --- src/protocols/OutputManagement.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/protocols/OutputManagement.cpp') diff --git a/src/protocols/OutputManagement.cpp b/src/protocols/OutputManagement.cpp index f85578e2..45bd480f 100644 --- a/src/protocols/OutputManagement.cpp +++ b/src/protocols/OutputManagement.cpp @@ -2,8 +2,9 @@ #include #include "../Compositor.hpp" #include "../managers/input/InputManager.hpp" -#include "../config/ConfigManager.hpp" #include "../event/EventBus.hpp" +#include "../helpers/Monitor.hpp" +#include "../config/shared/monitor/MonitorRuleManager.hpp" using namespace Aquamarine; @@ -319,7 +320,7 @@ COutputConfiguration::COutputConfiguration(SP resour newState.enabled = false; - g_pConfigManager->m_wantsMonitorReload = true; + Config::monitorRuleMgr()->scheduleReload(); m_owner->m_monitorStates[PMONITOR->m_name] = newState; }); @@ -420,7 +421,7 @@ bool COutputConfiguration::applyTestConfiguration(bool test) { // reset properties for next set. head->m_state.committedProperties = 0; - g_pConfigManager->m_wantsMonitorReload = true; + Config::monitorRuleMgr()->scheduleReload(); m_owner->m_monitorStates[PMONITOR->m_name] = newState; } -- cgit v1.2.3