libinput/src
Peter Hutterer a6f0e4ae60 timer: flush the timer funcs if our events come in late
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 can
erroneously trigger or miss out on taps, see wrong palm detection, etc.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2017-09-21 12:27:46 +10:00
..
evdev-middle-button.c timer: add a timer name to each timer 2017-07-10 12:00:50 +10:00
evdev-mt-touchpad-buttons.c Add helper function for time to timeval conversion 2017-09-14 09:43:51 +10:00
evdev-mt-touchpad-edge-scroll.c touchpad: ignore thumbs during edge scrolling 2017-09-01 16:06:40 +10:00
evdev-mt-touchpad-gestures.c gestures: don't try to pinch for nfingers > slots 2017-08-01 16:42:03 +01:00
evdev-mt-touchpad-tap.c timer: add a timer name to each timer 2017-07-10 12:00:50 +10:00
evdev-mt-touchpad.c touchpad: don't resume a disabled touchpad 2017-09-18 17:01:24 +10:00
evdev-mt-touchpad.h Merge branch 'wip/ignore-moved-touches' 2017-09-11 09:43:24 +10:00
evdev-tablet-pad-leds.c Abort if zalloc ever fails 2017-07-12 10:18:07 +10:00
evdev-tablet-pad.c Abort if zalloc ever fails 2017-07-12 10:18:07 +10:00
evdev-tablet-pad.h util: harmonize container_of() definition with linux kernel one 2017-05-17 15:04:41 +10:00
evdev-tablet.c tablet: always enable the no-proximity-out quirk on HUION tablets 2017-09-21 12:27:46 +10:00
evdev-tablet.h tablet: always enable the no-proximity-out quirk on HUION tablets 2017-09-21 12:27:46 +10:00
evdev.c timer: flush the timer funcs if our events come in late 2017-09-21 12:27:46 +10:00
evdev.h evdev: add a comment to the toggle_touch interface 2017-09-20 13:11:13 +10:00
filter-private.h filter: change the filter functions to take raw device coordinates 2016-12-21 10:55:57 +10:00
filter.c filter: don't allow an accel factor of 0 on the flat profile 2017-09-11 08:30:34 +10:00
filter.h touchpad: Enable timestamp smoothing support for bluetooth touchpads 2017-08-01 16:42:19 +01:00
libinput-private.h timer: flush the timer funcs if our events come in late 2017-09-21 12:27:46 +10:00
libinput-restore-selinux-context.sh Skip restorecon if it cannot be found 2017-06-23 09:58:42 +10:00
libinput-uninstalled.pc.in buildsystem: add missing uninstalled pkg-config infra 2016-08-30 17:18:39 +10:00
libinput-util.c touchpad: Allow larger palm sizes. 2017-08-14 06:11:35 +02:00
libinput-util.h Add helper function for time to timeval conversion 2017-09-14 09:43:51 +10:00
libinput-version.h.in COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
libinput.c Add libinput_device_switch_has_switch() 2017-09-06 09:24:29 +10:00
libinput.h Add support for SW_TABLET_MODE 2017-09-06 09:26:00 +10:00
libinput.pc.in Add -lrt to the libs 2014-07-03 09:59:43 +10:00
libinput.sym Add libinput_device_switch_has_switch() 2017-09-06 09:24:29 +10:00
path-seat.c Add safe_strdup() 2017-07-12 15:39:31 +10:00
path-seat.h path: remove unused declaration of path_input_process_event 2017-02-01 16:59:58 +10:00
timer.c timer: flush the timer funcs if our events come in late 2017-09-21 12:27:46 +10:00
timer.h timer: flush the timer funcs if our events come in late 2017-09-21 12:27:46 +10:00
udev-seat.c Add safe_strdup() 2017-07-12 15:39:31 +10:00
udev-seat.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00