Commit Graph

13 Commits

Author SHA1 Message Date
Kovid Goyal
76a29273c8 Dont send non-finger based zero size scroll events on Wayland 2026-02-17 11:23:49 +05:30
Kovid Goyal
d0249c1e72 Cleanup X11 momentum-scroll
Dont cancel on the synthetic key events x11 generates for scrolling.
Also use correct timestamp for duration and expiry of physical events.
2026-01-26 12:40:42 +05:30
Kovid Goyal
1efded85bc Support for old compilers 2026-01-11 11:02:14 +05:30
Kovid Goyal
dd9c61e5f6 ... 2026-01-09 14:44:40 +05:30
Kovid Goyal
2ab0fcb373 Make Wayland momentum scrolling configurable 2026-01-09 13:46:49 +05:30
Kovid Goyal
1f43a75a07 DRYer 2026-01-09 13:26:44 +05:30
Kovid Goyal
c0add3198b Use logical pixels for momentum velocity settings 2026-01-09 13:21:04 +05:30
Kovid Goyal
3232551c39 Revert to using a fixed timer interval
Sadly, we cant rely on the Wayland compositor to send us reliably timed
scroll events.
2026-01-09 13:10:16 +05:30
Kovid Goyal
858240e324 Momentum scroller: discard unsuitable physical events 2026-01-09 12:56:05 +05:30
Kovid Goyal
48de08ded1 Derive timer interval in the momentum scroller from previous scroll events 2026-01-09 10:40:24 +05:30
Kovid Goyal
32f7f8d321 Remove unneeded axis event timestamp 2026-01-05 20:13:33 +05:30
Kovid Goyal
e825005861 Remove unused field 2026-01-05 20:08:09 +05:30
Kovid Goyal
e1199bcee2 Initial implementation of momentum for finger based scrolling on Wayland
Needs configuration and possibly the parameter adjustment once pixel
scrolling is merged.
2026-01-05 19:52:44 +05:30