Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 2cdd97c6 authored by Marco Martin's avatar Marco Martin

wire up requestToggleKeepAbove/below

Summary: cobbect requestToggleKeepAbove and below with libtaskmanager

Test Plan: setting keep above from taskbar works

Reviewers: #plasma, hein, graesslin, #plasma_on_wayland

Reviewed By: #plasma, hein, graesslin

Subscribers: graesslin, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D5758
parent c8e2fb87
......@@ -530,16 +530,20 @@ void WaylandTasksModel::requestToggleMaximized(const QModelIndex &index)
void WaylandTasksModel::requestToggleKeepAbove(const QModelIndex &index)
{
Q_UNUSED(index)
if (!index.isValid() || index.model() != this || index.row() < 0 || index.row() >= d->windows.count()) {
return;
}
// FIXME Implement.
d->windows.at(index.row())->requestToggleKeepAbove();
}
void WaylandTasksModel::requestToggleKeepBelow(const QModelIndex &index)
{
Q_UNUSED(index)
if (!index.isValid() || index.model() != this || index.row() < 0 || index.row() >= d->windows.count()) {
return;
}
// FIXME Implement.
d->windows.at(index.row())->requestToggleKeepBelow();
}
void WaylandTasksModel::requestToggleFullScreen(const QModelIndex &index)
......
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