Skip to content
Commit c8c734fa authored by David Edmundson's avatar David Edmundson
Browse files

Port minimize all applet from it's own plugin to org.kde.TaskManager

Summary:
This reduces the code we have and implicitly fixes it under wayland.

Tracking of which windows are minimised by us is now done in JS, and
through use of model indexes instead of X window IDs, which wouldn't
really have worked under wayland.

Potentially we may have some minor behavioural differences on X with
regards to which windows are managed, as the old code did not skip those
with skip_taskmanager.

Requires a tiny patch in libtaskmanager to export persistentmodelindexes to
QML.

Test Plan:
Under wayland:
Had 3 windows, one minimised already
Clicked button. All minimised.
Clicked again, two restored

Reviewers: #plasma, anthonyfieroni

Reviewed By: anthonyfieroni

Subscribers: ngraham, anthonyfieroni, sebas, broulik, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D10019
parent 093241bf
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