Wheel events with a discrete value of 0 cause division by zero
With the libinput hi-res patches in place, the discrete value for a wheel event may be 0. This causes a division by zero in get_scroll_fraction()
.
Edited by Peter Hutterer
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
With the libinput hi-res patches in place, the discrete value for a wheel event may be 0. This causes a division by zero in get_scroll_fraction()
.