Commit graph

2 commits

Author SHA1 Message Date
Roy Kollen Svendsen
2b1f66ecdc taskswitcher: Fix build when KWin is built without activities support
Fixes:
../kwin/mobiletaskswitcher/plugin/taskfiltermodel.cpp:81:40: error: ‘class KWin::Workspace’ has no member named ‘activities’; did you mean ‘ActivityRaise’?
   81 |     auto activity = Workspace::self()->activities()->current();
      |                                        ^~~~~~~~~~
      |                                        ActivityRaise

This occurs when KWin is built with -DKWIN_BUILD_ACTIVITIES=OFF:

https://invent.kde.org/plasma/kwin/-/blob/master/src/workspace.h#L424
2025-06-10 09:12:25 -04:00
Devin Lin
bbac7e98b4 taskswitcher: Switch to declarative effect
This switches the kwin effect to be a declarative effect. However, for
now I have retained much of the logic that exists in cpp as a QML
plugin.

Fixes https://invent.kde.org/plasma/plasma-mobile/-/issues/448

Also implements https://invent.kde.org/plasma/plasma-mobile/-/issues/408 now that we can access the QML api
2025-03-01 21:26:47 +00:00