Commit 000ed7b1 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

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.
parent 1e4b48df
......@@ -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()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment