Commit 01ed2a3e 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 fd995084
......@@ -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)
......
Markdown is supported
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