Skip to content

🍒 plugins/trackmouse: listen to mouse events when active

Yifan Zhu requested to merge work/cherry-pick-8d5f46a7 into Plasma/6.1

Previously TrackMouseEffect only listens to mouse events if there are modifiers configured. So when it was activated by shortcut, the effect doesn't follow mouse movements.

Instead, listen to mouse events when the effect has been activated, or if any modifier is configured.

BUG: 487820

(cherry picked from commit 8d5f46a7)

Co-authored-by: Yifan Zhu fanzhuyifan@gmail.com

Merge request reports