Commit c46446e6 authored by Benjamin Port's avatar Benjamin Port

[libtaskmanager] add stacking order data for wayland

Summary: Depends on D29055 and D29054

Reviewers: broulik, davidedmundson, zzag, meven

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 6dfec11a
......@@ -465,6 +465,8 @@ QVariant WaylandTasksModel::data(const QModelIndex &index, int role) const
// FIXME Implement.
} else if (role == AppPid) {
return window->pid();
} else if (role == StackingOrder) {
return d->windowManagement->stackingOrder().indexOf(window->internalId());
} else if (role == ApplicationMenuObjectPath) {
return window->applicationMenuObjectPath();
} else if (role == ApplicationMenuServiceName) {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment