Closed usualwitch closed 2 days ago
When using focus-follows-mouse with horizontal focus-column bindings, moving the mouse near the screen edges can trigger unintended scrolling, even when there are no partial columns visible.
focus-follows-mouse
input { focus-follows-mouse } binds { Mod+L { focus-column-right; } Mod+H { focus-column-left; } Mod+WheelScrollDown { focus-column-right; } Mod+WheelScrollUp { focus-column-left; } }
Expected Behavior: Moving the mouse should not cause any horizontal scrolling, as there are no peek windows outside the screen.
Actual Behavior: Moving the mouse near the left edge of the screen causes the screen to scroll back.
The same thing happens if I scroll the screen left then move the mouse near the right edge of the screen.
This scrollback only occurs once. Seems like it only undos the most recent scrolling action. Is it possible to disable this auto-scrollback behavior?
Hi, we're discussing this here: https://github.com/YaLTeR/niri/discussions/491
Yesterday I pushed a setting that should fix this:
focus-follows-mouse max-scroll-amount="0%"
Description
When using
focus-follows-mouse
with horizontal focus-column bindings, moving the mouse near the screen edges can trigger unintended scrolling, even when there are no partial columns visible.Configuration
Steps to Reproduce
Expected Behavior: Moving the mouse should not cause any horizontal scrolling, as there are no peek windows outside the screen.
Actual Behavior: Moving the mouse near the left edge of the screen causes the screen to scroll back.
The same thing happens if I scroll the screen left then move the mouse near the right edge of the screen.
Additional Notes
This scrollback only occurs once. Seems like it only undos the most recent scrolling action. Is it possible to disable this auto-scrollback behavior?
System Information