Commit 4a671fbf authored by Martin Flöser's avatar Martin Flöser

[wayland] Don't handle ShellSurface created signals till Workspace is ready

Similar to Surface: we ignore till we are all ready to go.
parent a9649885
......@@ -86,6 +86,10 @@ void WaylandServer::init(const QByteArray &socketName)
connect(m_shell, &ShellInterface::surfaceCreated, this,
[this] (ShellSurfaceInterface *surface) {
if (!Workspace::self()) {
// it's possible that a Surface gets created before Workspace is created
if (surface->client() == m_xwaylandConnection) {
// skip Xwayland clients, those are created using standard X11 way
Markdown is supported
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