YaLTeR / niri

A scrollable-tiling Wayland compositor.
https://matrix.to/#/#niri:matrix.org
GNU General Public License v3.0
4.12k stars 123 forks source link

Unhide the pointer on scroll events #797

Closed r-vdp closed 1 week ago

r-vdp commented 1 week ago

Since we reset the surface under the pointer when we hide the pointer (see update_pointer_contents), scroll events don't work when the pointer is hidden. So to make scrolling work, we make sure that we unhide the pointer when a scrolling event occurs.

Fixes #796

YaLTeR commented 1 week ago

Thanks, good catch.