diff --git a/src/Compositor.cpp b/src/Compositor.cpp index ab371df22..b5dba342e 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -673,6 +673,9 @@ void CCompositor::initManagers(eManagersInitStage stage) { Log::logger->log(Log::DEBUG, "Creating the SeatManager!"); g_pSeatManager = makeUnique(); + Log::logger->log(Log::DEBUG, "Creating the SessionLockManager!"); + g_pSessionLockManager = makeUnique(); + // 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(); - Log::logger->log(Log::DEBUG, "Creating the SessionLockManager!"); - g_pSessionLockManager = makeUnique(); - Log::logger->log(Log::DEBUG, "Creating the Debug Overlay!"); Debug::overlay();