libinput/src
Peter Hutterer bb2678bfe8 touchpad: when clearing the touchpad state, release fake touches too
Causes an error message in the device_disable_release_tap_n_drag test. When
the touchpad is suspended, all touches are ended in tp_clear_state. Since the
hovering support was added, this returns the touches to TOUCH_HOVERING, a
subsequent tp_handle_state() will turn them back into TOUCH_BEGIN based on
BTN_TOUCH and BTN_TOOL_FINGER still being down.

Clear the fake touch buttons as well after ending the touches, this way the
touch points are reset to TOUCH_NONE as intended.
Once we do that we don't need to manually change the tap finger count when
releasing taps, we can just let the count reset naturally.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-05-05 07:44:18 +10:00
..
evdev-middle-button.c evdev: add support for middle button emulation 2015-04-17 12:50:03 +10:00
evdev-mt-touchpad-buttons.c touchpad: enable clickfinger by default on some System76 laptops 2015-05-05 07:36:14 +10:00
evdev-mt-touchpad-edge-scroll.c touchpad: add state debugging to the edge scroll state machine 2015-04-09 07:52:19 +10:00
evdev-mt-touchpad-gestures.c touchpad: Only use slot 0 deltas for 2fg scrolling on semi-mt touchpads 2015-04-27 11:08:52 +10:00
evdev-mt-touchpad-tap.c touchpad: drop the tap finger count 2015-05-05 07:44:18 +10:00
evdev-mt-touchpad.c touchpad: when clearing the touchpad state, release fake touches too 2015-05-05 07:44:18 +10:00
evdev-mt-touchpad.h touchpad: drop the tap finger count 2015-05-05 07:44:18 +10:00
evdev.c touchpad: enable clickfinger by default on some System76 laptops 2015-05-05 07:36:14 +10:00
evdev.h touchpad: enable clickfinger by default on some System76 laptops 2015-05-05 07:36:14 +10:00
filter-private.h filter: switch to normalized_coords 2015-03-19 12:06:48 +10:00
filter.c evdev: use a different filter for low resolution touchpad on the Lenovo X230 2015-04-27 10:00:10 +10:00
filter.h evdev: use a different filter for low resolution touchpad on the Lenovo X230 2015-04-27 10:00:10 +10:00
libinput-private.h Add middle mouse button emulation config options 2015-04-17 12:49:43 +10:00
libinput-util.c evdev: Add support for POINTINGSTICK_CONST_ACCEL udev property 2015-04-22 09:35:28 +02:00
libinput-util.h evdev: Add support for POINTINGSTICK_CONST_ACCEL udev property 2015-04-22 09:35:28 +02:00
libinput-version.h.in Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00
libinput.c Add libinput_device_keyboard_has_key() 2015-04-23 10:32:31 +10:00
libinput.h Add libinput_device_keyboard_has_key() 2015-04-23 10:32:31 +10:00
libinput.pc.in Add -lrt to the libs 2014-07-03 09:59:43 +10:00
libinput.sym Add libinput_device_keyboard_has_key() 2015-04-23 10:32:31 +10:00
Makefile.am evdev: add support for middle button emulation 2015-04-17 12:50:03 +10:00
path.c path: make sure udev devices are initialized before usage 2015-02-04 08:14:50 +10:00
path.h path: store the udev device instead of just the devnode 2014-11-25 16:33:01 +10:00
timer.c timer: set O_NONBLOCK on the timerfd 2015-05-01 09:09:38 +10:00
timer.h timer.h: Add #include libinput-util.h 2014-06-11 10:30:12 +10:00
udev-seat.c udev: fix a race condition if a device disappears before we get a handle 2015-02-19 06:56:23 +10:00
udev-seat.h udev: Drop unused seat_name in struct udev_seat 2014-01-16 20:42:30 +01:00