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/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 99e64675..566a2544 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,7 +1,7 @@ #include "defines.hpp" #include "debug/log/Logger.hpp" #include "Compositor.hpp" -#include "config/ConfigManager.hpp" +#include "config/legacy/ConfigManager.hpp" #include "init/initHelpers.hpp" #include "debug/HyprCtl.hpp" #include "helpers/env/Env.hpp" @@ -227,7 +227,7 @@ int main(int argc, char** argv) { g_pCompositor->initServer(socketName, socketFd); if (verifyConfig) - return !g_pConfigManager->m_lastConfigVerificationWasSuccessful; + return !Config::mgr()->configVerifPassed(); if (!Env::envEnabled("HYPRLAND_NO_RT")) NInit::gainRealTime(); -- cgit v1.2.3