compositor: move SessionLockManager init from STAGE_LATE to STAGE_BASICINIT (#14272)

This commit is contained in:
Maximilian Seidler 2026-05-03 16:30:21 +02:00 committed by GitHub
parent 90fe7c6569
commit c0933bffcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();