mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-08 16:11:57 -07:00
watchdog: initialize after config
This commit is contained in:
@@ -77,8 +77,6 @@ CCompositor::CCompositor() {
|
|||||||
setRandomSplash();
|
setRandomSplash();
|
||||||
|
|
||||||
Debug::log(LOG, "\nCurrent splash: {}\n\n", m_szCurrentSplash);
|
Debug::log(LOG, "\nCurrent splash: {}\n\n", m_szCurrentSplash);
|
||||||
|
|
||||||
g_pWatchdog = std::make_unique<CWatchdog>();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
CCompositor::~CCompositor() {
|
CCompositor::~CCompositor() {
|
||||||
@@ -406,6 +404,7 @@ void CCompositor::initManagers(eManagersInitStage stage) {
|
|||||||
g_pLayoutManager = std::make_unique<CLayoutManager>();
|
g_pLayoutManager = std::make_unique<CLayoutManager>();
|
||||||
|
|
||||||
g_pConfigManager->init();
|
g_pConfigManager->init();
|
||||||
|
g_pWatchdog = std::make_unique<CWatchdog>(); // requires config
|
||||||
} break;
|
} break;
|
||||||
case STAGE_LATE: {
|
case STAGE_LATE: {
|
||||||
Debug::log(LOG, "Creating the ThreadManager!");
|
Debug::log(LOG, "Creating the ThreadManager!");
|
||||||
|
Reference in New Issue
Block a user