Re: [PATCH libinput] touchpad: Remove unnecessary edge scroll threshold variable

2015-03-09 Thread Peter Hutterer
On Mon, Mar 09, 2015 at 02:22:56PM +0100, Hans de Goede wrote: > Now that we've separate handling of the EDGE_NEW vs EDGE states in > tp_edge_scroll_post_events() we can drop the threshold variable, in EDGE_NEW > we always want to check against DEFAULT_SCROLL_THRESHOLD and in the EDGE > state we on

[PATCH libinput] touchpad: Remove unnecessary edge scroll threshold variable

2015-03-09 Thread Hans de Goede
Now that we've separate handling of the EDGE_NEW vs EDGE states in tp_edge_scroll_post_events() we can drop the threshold variable, in EDGE_NEW we always want to check against DEFAULT_SCROLL_THRESHOLD and in the EDGE state we only want to make sure that the delta != 0.0 which is already checked lat