Commit 8d3ee652 authored by Martin Flöser's avatar Martin Flöser

[wayland] Don't set surface on Toplevel for non Xwayland-Clients

For other clients we are only interested in the shell surfaces.
parent 28d314a4
......@@ -70,6 +70,10 @@ void WaylandServer::init(const QByteArray &socketName)
// it's possible that a Surface gets created before Workspace is created
return;
}
if (surface->client() != xWaylandConnection()) {
// setting surface is only relevat for Xwayland clients
return;
}
auto check = [surface] (const Toplevel *t) {
return t->surfaceId() == surface->id();
};
......
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