commit | 64697b4034ab3e8439ef572f21f2523a84878906 | [log] [tgz] |
---|---|---|
author | Cameron Gutman <cameron.gutman@gmail.com> | Fri Jan 22 19:22:17 2021 -0600 |
committer | Cameron Gutman <cameron.gutman@gmail.com> | Fri Jan 22 19:22:17 2021 -0600 |
tree | 7030b481065df56baecd2d61d25870fa2f217600 | |
parent | 920f258fa9523ae2b03dd3f69c0fc4538ff39899 [diff] |
Fix continuous scrolling speed on Wayland Wayland compositors seem to have standardized on 10 units per "wheel tick" for continuous scroll events, so we need to convert these axis values to ticks by dividing by 10 before reporting them in SDL_MOUSEWHEEL events.