libinput/src
Peter Hutterer d773056d2e touchpad: remove assert that may trigger during a race condition
There appears to be a race condition where an ABS_MT_TRACKING_ID -1
event is on the wire but libevdev_fetch_slot_value() for that slot
already gives us -1 as well.

If we just (re)opened our device, synching our slots would thus set zero
active slots and then trigger the assert when that event is being
processed.

It's unclear how to reliably reproduce this issue but removing the
assert and simply ignoring this event if we don't have active slots
is correct anyway.

Closes #1050

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1081>
2024-12-01 22:44:50 +00:00
..
builddir.h Fix a few coverity complaints 2020-11-10 14:27:22 +10:00
evdev-debounce.c evdev: restart debouncing timers after every event 2021-05-19 12:24:59 +02:00
evdev-fallback.c sparse: make some variables static 2024-03-18 23:35:34 +00:00
evdev-fallback.h fallback: remove write-only rotation.is_enabled variable 2023-04-27 13:15:14 +10:00
evdev-middle-button.c Use bit(foo) instead of (1 << foo) 2021-11-18 10:11:43 +10:00
evdev-mt-touchpad-buttons.c fix: unnecessary braces and mistake in doc 2024-04-09 23:40:34 -03:00
evdev-mt-touchpad-edge-scroll.c High-resolution scroll wheel support 2021-08-31 08:45:01 +02:00
evdev-mt-touchpad-gestures.c gestures: change a boolean to an enum for more expressive code 2024-10-04 15:13:23 +10:00
evdev-mt-touchpad-tap.c touchpad: add sticky mode to drag-lock 2024-09-05 00:47:47 +00:00
evdev-mt-touchpad-thumb.c Allow reviving a thumb that moves sufficiently 2021-05-19 05:12:58 +00:00
evdev-mt-touchpad.c touchpad: remove assert that may trigger during a race condition 2024-12-01 22:44:50 +00:00
evdev-mt-touchpad.h gestures: get rid of tp_gestures_start 2024-10-04 15:13:23 +10:00
evdev-tablet-pad-leds.c tablet: centralize the libwacom handling 2024-10-31 13:38:28 +10:00
evdev-tablet-pad.c tablet: centralize the libwacom handling 2024-10-31 13:38:28 +10:00
evdev-tablet-pad.h tablet: centralize the libwacom handling 2024-10-31 13:38:28 +10:00
evdev-tablet.c tablet: ignore movements started outside the configured area 2024-11-05 12:10:48 +10:00
evdev-tablet.h tablet: ignore movements started outside the configured area 2024-11-05 12:10:48 +10:00
evdev-totem.c tablet: implement support for area configuration for external tablets 2024-11-05 12:10:48 +10:00
evdev-wheel.c evdev: if a device's rotation is around 180 degrees, flip the wheel 2023-04-27 13:15:14 +10:00
evdev.c Move evdev_convert_to_mm to a more generic helper 2024-11-05 12:05:05 +10:00
evdev.h Move evdev_convert_to_mm to a more generic helper 2024-11-05 12:05:05 +10:00
filter-custom.c sparse: make some variables static 2024-03-18 23:35:34 +00:00
filter-flat.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-low-dpi.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-mouse.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-private.h filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-tablet.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-touchpad-flat.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-touchpad-x230.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-touchpad.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-trackpoint-flat.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter-trackpoint.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter.c filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
filter.h filter: add scroll movement type to the custom acceleration profile 2023-02-24 13:01:34 +02:00
libinput-git-version.h.in tools: add the git version in the libinput-record output 2018-03-06 14:22:30 +10:00
libinput-private-config.c gesutures: allow to configure hold gestures 2021-06-09 01:18:58 +00:00
libinput-private-config.h gesutures: allow to configure hold gestures 2021-06-09 01:18:58 +00:00
libinput-private.h tablet: implement support for area configuration for external tablets 2024-11-05 12:10:48 +10:00
libinput-restore-selinux-context.sh meson: Fix absolute libdir case in install script 2018-02-16 16:57:30 +10:00
libinput-uninstalled.pc.in buildsystem: add missing uninstalled pkg-config infra 2016-08-30 17:18:39 +10:00
libinput-util.h util: add the range handling as separate header file 2024-10-30 23:20:42 +00:00
libinput-version.h.in COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
libinput-versionsort.h Define the versionsort overrides as inlines 2021-07-28 12:50:11 +10:00
libinput.c tablet: implement support for area configuration for external tablets 2024-11-05 12:10:48 +10:00
libinput.h Add tablet area configuration 2024-11-05 12:10:48 +10:00
libinput.pc.in Add -lrt to the libs 2014-07-03 09:59:43 +10:00
libinput.sym Add tablet area configuration 2024-11-05 12:10:48 +10:00
path-seat.c Remove duplicate empty lines in our source 2022-11-25 10:08:20 +10:00
quirks.c util: add a safe version of strlen 2024-09-30 15:35:36 +00:00
quirks.h Disregard touchless clicks on flaky devices 2023-04-11 02:00:52 +00:00
timer.c timer: only warn about timer expiry issues when we're more than 20ms behind 2021-12-07 11:54:08 +10:00
timer.h Use bit(foo) instead of (1 << foo) 2021-11-18 10:11:43 +10:00
udev-seat.c Remove duplicate empty lines in our source 2022-11-25 10:08:20 +10:00
udev-seat.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
util-backtrace.h util: add the backtrace printing function as separate util 2024-10-23 10:08:12 +10:00
util-bits.h Remove duplicate empty lines in our source 2022-11-25 10:08:20 +10:00
util-files.h util: add xclose(fd) to close-and-reset an fd 2024-10-30 23:20:42 +00:00
util-input-event.h Move evdev_convert_to_mm to a more generic helper 2024-11-05 12:05:05 +10:00
util-list.c util: add a LIST_INIT macro 2024-03-18 16:25:47 +00:00
util-list.h util: add a LIST_INIT macro 2024-03-18 16:25:47 +00:00
util-macros.h test: make the TEST_COLLECTION() macro re-usable in the same file 2024-10-18 10:49:47 +10:00
util-matrix.h util: make a float to int conversion explicit 2024-10-29 10:18:54 +10:00
util-prop-parsers.c Fix a gcc analyzer complaint 2023-07-18 16:05:13 +10:00
util-prop-parsers.h quirks: allow overriding of AttrEventCode and AttrInputProp 2022-11-28 08:25:41 +10:00
util-range.h util: add the range handling as separate header file 2024-10-30 23:20:42 +00:00
util-ratelimit.c [clang-tidy] do not use else after return 2020-08-27 01:17:24 -07:00
util-ratelimit.h [clang-tidy] fix inconsistent declarations 2020-08-27 01:00:31 -07:00
util-stringbuf.h util: add a generic stringbuffer with a few helper functions 2024-10-30 23:20:42 +00:00
util-strings.c util: add a strv_for_each helper function 2024-09-05 13:54:07 +00:00
util-strings.h Fix a few potential NULL dereferences 2024-09-30 15:35:36 +00:00
util-time.h util: add a bunch more time conversions 2024-10-30 23:20:42 +00:00