compositor: move SessionLockManager init from STAGE_LATE to STAGE_BASICINIT

This commit is contained in:
Maximilian Seidler 2026-05-03 15:14:34 +02:00
parent 6ec0228c38
commit d437cd50e4

View file

@ -673,6 +673,9 @@ void CCompositor::initManagers(eManagersInitStage stage) {
Log::logger->log(Log::DEBUG, "Creating the SeatManager!");
g_pSeatManager = makeUnique<CSeatManager>();
Log::logger->log(Log::DEBUG, "Creating the SessionLockManager!");
g_pSessionLockManager = makeUnique<CSessionLockManager>();
// init focus state els
Desktop::History::windowTracker();
Desktop::History::workspaceTracker();
@ -688,9 +691,6 @@ void CCompositor::initManagers(eManagersInitStage stage) {
Log::logger->log(Log::DEBUG, "Creating the XWaylandManager!");
g_pXWaylandManager = makeUnique<CHyprXWaylandManager>();
Log::logger->log(Log::DEBUG, "Creating the SessionLockManager!");
g_pSessionLockManager = makeUnique<CSessionLockManager>();
Log::logger->log(Log::DEBUG, "Creating the Debug Overlay!");
Debug::overlay();