Commit 8792a8d6 authored by David Edmundson's avatar David Edmundson
Browse files

On bind set stacking order only to newly bound client

sendStackingOrderChanged() iterates though all clients. Only the new
client needs to be send information at this point.
parent ec0c109f
......@@ -232,7 +232,7 @@ void PlasmaWindowManagementInterface::Private::bind(wl_client *client, uint32_t
for (auto it = windows.constBegin(); it != windows.constEnd(); ++it) {
org_kde_plasma_window_management_send_window(shell, (*it)->d->windowId);
}
sendStackingOrderChanged();
sendStackingOrderChanged(shell);
}
void PlasmaWindowManagementInterface::Private::unbind(wl_resource *resource)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment