[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.
This commit is contained in:
Martin Gräßlin 2015-10-01 17:24:03 +02:00
parent b5255de4b6
commit 8ffca66d94

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;