mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-01-11 09:50:19 +01:00
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>
This commit is contained in:
parent
f71329d0d8
commit
92b21247f4
1 changed files with 5 additions and 4 deletions
|
|
@ -1002,10 +1002,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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue