wayland: improve scrolling with mouse wheel and touchpad
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* Prefer "discrete" events, if available (mouse wheel with distinct scroll lengths/"clicks"). * Ignore horizontal scroll events * Don't scroll one entry on each scroll event; accumulate the scroll amount until we reach the threshold. * Threshold currently set to "20", because that's what each discrete scroll event corresponds to with my mouse, and because it "feels" right when scrolling. * Immediately reset the accumulated scroll amount when the scroll direction is reversed. Closes #673§
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+66 added−9 removed
- other:+66 added−9 removed