[PATCH libinput] timer: flush the timer funcs if our events come in late
benjamin.tissoires at gmail.com
Wed Sep 20 16:47:19 UTC 2017
On Wed, Sep 20, 2017 at 2:20 AM, Peter Hutterer <peter.hutterer at who-t.net>
> Avoid processing an event with a time later than the earliest timer
> expiry. If
> libinput_dispatch() isn't called frequently enough, we may have e.g. a tap
> timeout happening but read a subsequent input event first. In that case we
> erroneously trigger or miss out on taps, see wrong palm detection, etc.
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Looks good to me:
Reviewed-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wayland-devel