mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-07 23:51:55 -07:00
watchdog: initialize after config
This commit is contained in:
@@ -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!");
|
||||
|
Reference in New Issue
Block a user