Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Wayland users are reporting that mouse and trackpad scrolling is much too fast under Wayland.
#3142
#4455
Using @SuperSandro2000's recommendation here, I've added a config option to modify the scroll factor on Wayland (
config.wayland_scroll_factor
).I've found that setting this value to
0.25
is ideal on my environment (Hyprland, Zellij).I haven't modified the documentation yet because I wanted to see if this was a desirable approach first. I suppose it's possible to derive a suitable scroll factor from the window's scale factor, but I do not have enough familiarity with the Wayland protocol to implement this. If the config option route is acceptable, I will update the docs.
This also fixes a typo in
CONTRIBUTING.md
as proof that I actually read it.