mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 02:05:58 +01:00
watchdog: initialize after config
This commit is contained in:
parent
9cc614d096
commit
27cd7ef0c9
1 changed files with 1 additions and 2 deletions
|
@ -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!");
|
||||||
|
|
Loading…
Reference in a new issue