Skip to content

plugins/trackmouse: listen to mouse events when active

Yifan Zhu requested to merge work/fanzhuyifan/trackmouse into master

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

Merge request reports

Loading