diff --git a/wayland_server.cpp b/wayland_server.cpp index 6d7734ae19..e62ad0e16d 100644 --- a/wayland_server.cpp +++ b/wayland_server.cpp @@ -162,7 +162,6 @@ void WaylandServer::createSurface(T *surface) } else { client = new ShellClient(surface); } - client = new ShellClient(surface); if (ServerSideDecorationInterface *deco = ServerSideDecorationInterface::get(surface->surface())) { client->installServerSideDecoration(deco); }