[kwayland] Highlight Window Protocol
Open, Needs TriagePublic

Description

Task manager allows to highlight windows on mouse over. This uses a KWindowEffects API. We need to extend the api to support it.

sitter added a subscriber: sitter.

I looked into this, and I would like to start with adding a new highlighted state to the PlasmaWindow protocol similar to the way things like shaded and skiptaskbar were added. I'd then move the highlighting logic out from the Task Manager applet backend plugin into libtaskmanager and use KWayland for the implementation in WaylandTasksModel. Does this sound good?

The old KWindowEffects API for this theoretically had explicit support for atomically highlighting multiple windows at once via its signature, but I'm not sure this needs preserving in pfactice.

The old KWindowEffects API for this theoretically had explicit support for atomically highlighting multiple windows at once via its signature, but I'm not sure this needs preserving in pfactice.

Could this be needed for highlighting modal children windows at the same time? I am not sure what is the intended behaviour, here.