diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-06-10 10:30:24 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-06-16 14:42:39 +1000 |
commit | 2908beb2728ade0025b3bb824ba34165b6a25c70 (patch) | |
tree | 4cb1c39645c3d0e89e560e4b92f9038379b25401 | |
parent | d9c8da9da69a0271c13880605cb7e1127331a493 (diff) |
touchpad: don't warn about kernel jumps on semi-mt devices
These devices are all over the place anyway, no need to spam the log, just
silently discard the jumps.
https://bugs.freedesktop.org/show_bug.cgi?id=96275
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
(cherry picked from commit 92b21247f434037202e9ebb4355f08775d007ae2)
-rw-r--r-- | src/evdev-mt-touchpad.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c index 314d4647..6c9cfab0 100644 --- a/src/evdev-mt-touchpad.c +++ b/src/evdev-mt-touchpad.c @@ -996,10 +996,11 @@ tp_process_state(struct tp_dispatch *tp, uint64_t time) tp_motion_history_reset(t); if (tp_detect_jumps(tp, t)) { - log_bug_kernel(tp_libinput_context(tp), - "Touch jump detected and discarded.\n" - "See %stouchpad_jumping_cursor.html for details\n", - HTTP_DOC_LINK); + if (!tp->semi_mt) + log_bug_kernel(tp_libinput_context(tp), + "Touch jump detected and discarded.\n" + "See %stouchpad_jumping_cursor.html for details\n", + HTTP_DOC_LINK); tp_motion_history_reset(t); } |