diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-03-20 13:52:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-20 17:52:37 +0000 |
| commit | 8726a7363eb9213235e6e23657668e0daac39a5b (patch) | |
| tree | 42eeb40f6f81a9ccec1455f308e56173e9dcce4b /src/protocols/OutputManagement.cpp | |
| parent | b940b0d2c197841b0f648598ee782dbaf9e0a89b (diff) | |
config: cleanup the entire config infrastructure (#13785)
Massively refactors the config infrastructure, sorely
needed and will be req'd for the lua stuff
Diffstat (limited to 'src/protocols/OutputManagement.cpp')
| -rw-r--r-- | src/protocols/OutputManagement.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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 <algorithm> #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<CZwlrOutputConfigurationV1> 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; } |
