Commit af53647c authored by Usarin Heininga's avatar Usarin Heininga
Browse files

Set stackingOrderUuids as well.

parent 37445d9c
......@@ -547,13 +547,16 @@ void WaylandServer::initWorkspace()
connect(workspace(), &Workspace::workspaceInitialized, this, [this] {
auto f = [this] () {
QVector<quint32> ids;
QVector<QString> uuids;
for (Toplevel *toplevel : workspace()->stackingOrder()) {
auto *client = qobject_cast<AbstractClient *>(toplevel);
if (client && client->windowManagementInterface()) {
ids << client->windowManagementInterface()->internalId();
uuids << client->windowManagementInterface()->uuid();
}
}
m_windowManagement->setStackingOrder(ids);
m_windowManagement->setStackingOrderUuids(uuids);
};
f();
connect(workspace(), &Workspace::stackingOrderChanged, this, f);
......
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