[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.
icc-effect-5.14.5
Martin Gräßlin 2015-10-01 17:24:03 +02:00
parent b5255de4b6
commit 8ffca66d94
1 changed files with 1 additions and 0 deletions

View File

@ -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;