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/main.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/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |
