mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 19:09:48 +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();
|
||||
|
||||
Debug::log(LOG, "\nCurrent splash: {}\n\n", m_szCurrentSplash);
|
||||
|
||||
g_pWatchdog = std::make_unique<CWatchdog>();
|
||||
}
|
||||
|
||||
CCompositor::~CCompositor() {
|
||||
|
@ -406,6 +404,7 @@ void CCompositor::initManagers(eManagersInitStage stage) {
|
|||
g_pLayoutManager = std::make_unique<CLayoutManager>();
|
||||
|
||||
g_pConfigManager->init();
|
||||
g_pWatchdog = std::make_unique<CWatchdog>(); // requires config
|
||||
} break;
|
||||
case STAGE_LATE: {
|
||||
Debug::log(LOG, "Creating the ThreadManager!");
|
||||
|
|
Loading…
Reference in a new issue