elm - scroller wheel accel - limit to avoid over/underflow
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Sat, 15 Feb 2020 18:37:06 +0000 (18:37 +0000)
committerJongmin Lee <jm105.lee@samsung.com>
Mon, 17 Feb 2020 21:39:19 +0000 (06:39 +0900)
commit6eb0f9981ad4c8481ca75238e49fffa3e6d18f51
tree3e2df004230e17419e0b28ed19ecadd3beaadad9
parent44b4e49f6563f96172a014d5c5d4d7b8a39a5d60
elm - scroller wheel accel - limit to avoid over/underflow

limit wheell accel multiplier to 100,000 ... this way sane values of
wheel_event->z will not overflow. also up intermediate coors to long
longs and clamp to be sure.
src/lib/elementary/elm_interface_scrollable.c