[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:
parent
b5255de4b6
commit
8ffca66d94
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue