davidedmundson created this revision. davidedmundson added a reviewer: Plasma. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel. davidedmundson requested review of this revision.
REVISION SUMMARY On window changing the old code would deactivate the minimise all plugin, but not restore the rest of the minised windows. This restores that behaviour. Also simplify tracking which active window changes, in a way that still works when a user clicks minimise all then interacts with the desktop. BUG: 395519 Finishes D13529 <https://phabricator.kde.org/D13529> TEST PLAN Clicked minimise all Clicked desktop Clicked minimise all, windows restored Clicked minimise all Opened a window Only that window restored Clicking minimise all again minimised only that window REPOSITORY R114 Plasma Addons BRANCH master REVISION DETAIL https://phabricator.kde.org/D13598 AFFECTED FILES applets/minimizeall/package/contents/ui/main.qml To: davidedmundson, #plasma Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart