wayland: Init outputs before emitting WaylandServer::initialized

This shouldn't make any difference, but it makes more sense to emit the
initialized signal after the outputs are added rather than before.
This commit is contained in:
Vlad Zahorodnii 2021-05-11 09:42:27 +03:00
parent 1e4b48df2e
commit 000ed7b122

View file

@ -604,6 +604,8 @@ void WaylandServer::initWorkspace()
});
}
initOutputs();
if (hasScreenLockerIntegration()) {
if (m_internalConnection.interfacesAnnounced) {
initScreenLocker();
@ -613,8 +615,6 @@ void WaylandServer::initWorkspace()
} else {
emit initialized();
}
initOutputs();
}
void WaylandServer::initScreenLocker()