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

For other clients we are only interested in the shell surfaces.
master
Martin Gräßlin 10 years ago
parent 28d314a487
commit 8d3ee65269

@ -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();
};

Loading…
Cancel
Save