From 8ffca66d94bdf793cdcc83b40a4f761949d5da91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 1 Oct 2015 17:24:03 +0200 Subject: [PATCH] [wayland] Trigger an update of client layer when managing a ShellClient Let's ensure it's in the correct layer before we do something with the new window. --- workspace.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/workspace.cpp b/workspace.cpp index 12851da7e1..1a2129aec7 100644 --- a/workspace.cpp +++ b/workspace.cpp @@ -373,6 +373,7 @@ void Workspace::init() if (auto w = waylandServer()) { connect(w, &WaylandServer::shellClientAdded, this, [this] (ShellClient *c) { + updateClientLayer(c); if (!c->isInternal()) { QRect area = clientArea(PlacementArea, Screens::self()->current(), c->desktop()); bool placementDone = false;