libinput/src
Peter Hutterer 6adb336829 touchpad: remember the suspend reason
There are 4 possible cases why a touchpad suspends right now: lid switch,
tablet mode switch, sendevents disabled and sendevents disabled when an
external mouse is present.

But these reasons can stack up, e.g. a lid switch may happen while send events
is disabled, disabling one should not re-enable the touchpad. This patch adds
a bitmask to remember the reasons we're current suspended, resuming only
happens once all reasons are back to 0.

https://bugs.freedesktop.org/show_bug.cgi?id=106498

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2018-05-18 12:05:02 +10:00
..
evdev-debounce.c evdev: add three more Logitech K400-like devices to the debouncing quirk 2018-05-17 12:37:20 +10:00
evdev-fallback.c fallback: Add IBM/Lenovo Scrollpoint mice quirk to enable smooth scrolling. 2018-04-26 09:53:57 +10:00
evdev-fallback.h evdev: add a quirk to disable debouncing on the MS Nano Transcievers 2018-02-13 15:58:48 +10:00
evdev-middle-button.c evdev: fix a coverity warning 2017-10-10 08:05:28 +10:00
evdev-mt-touchpad-buttons.c touchpad: ignore palm touches when handling clickfingers 2018-04-20 09:04:13 +10:00
evdev-mt-touchpad-edge-scroll.c touchpad: add a TOUCH_MAYBE_END state 2018-03-01 12:24:48 +10:00
evdev-mt-touchpad-gestures.c gestures: if two fingers are in definitive pinch position, pinch 2018-04-26 13:59:03 +10:00
evdev-mt-touchpad-tap.c touchpad: fix tapping that happens after a moving thumb 2018-05-10 14:35:54 +10:00
evdev-mt-touchpad.c touchpad: remember the suspend reason 2018-05-18 12:05:02 +10:00
evdev-mt-touchpad.h touchpad: remember the suspend reason 2018-05-18 12:05:02 +10:00
evdev-tablet-pad-leds.c Abort if zalloc ever fails 2017-07-12 10:18:07 +10:00
evdev-tablet-pad.c pad: use libwacom to get the evdev to button number mapping 2018-03-05 15:00:03 +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 Update struct input_event 2018-05-03 10:03:28 +10:00
evdev-tablet.h Correct Lyude's Copyright assignment 2017-11-21 15:33:49 +10:00
evdev.c evdev: add three more Logitech K400-like devices to the debouncing quirk 2018-05-17 12:37:20 +10:00
evdev.h evdev: add three more Logitech K400-like devices to the debouncing quirk 2018-05-17 12:37:20 +10:00
filter-custom.c Expose a custom acceleration profile 2018-04-26 14:48:37 +10:00
filter-flat.c filter: move the flat filter into a separate file 2018-04-18 16:15:38 +10:00
filter-low-dpi.c filter: duplicate the pointer_accelerator struct into the bits that use it 2018-04-18 17:10:05 +10:00
filter-mouse.c filter: duplicate the pointer_accelerator struct into the bits that use it 2018-04-18 17:10:05 +10:00
filter-private.h Expose a custom acceleration profile 2018-04-26 14:48:37 +10:00
filter-tablet.c filter: split the tablet accel code into a separate file 2018-04-18 16:15:38 +10:00
filter-touchpad-x230.c filter: namespace the various trackers_* functions 2018-04-18 17:01:03 +10:00
filter-touchpad.c filter: duplicate the pointer_accelerator struct into the bits that use it 2018-04-18 17:10:05 +10:00
filter-trackpoint.c filter: split trackpoint acceleration code into a separate file 2018-04-18 16:15:38 +10:00
filter.c Expose a custom acceleration profile 2018-04-26 14:48:37 +10:00
filter.h Expose a custom acceleration profile 2018-04-26 14:48:37 +10: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.h Expose a custom acceleration profile 2018-04-26 14:48:37 +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.c util: avoid potential integer overflow 2018-05-16 14:23:12 +10:00
libinput-util.h utils: fix leak in kv_double_from_string() 2018-05-16 14:23:12 +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 Fix the scan-build fake leaks 2018-05-10 15:47:37 +10:00
libinput.h Merge branch 'wip/custom-pointer-acceleration-function-v2' 2018-05-02 10:53:08 +10:00
libinput.pc.in Add -lrt to the libs 2014-07-03 09:59:43 +10:00
libinput.sym Merge branch 'wip/custom-pointer-acceleration-function-v2' 2018-05-02 10:53:08 +10:00
path-seat.c path: if the udev device is never initialized, bail 2018-01-09 13:47:42 +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: change the timer offset warning to a client bug 2018-02-06 19:29:26 +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 udev: validate input devices during cold-plug 2018-04-05 09:38:36 +10:00
udev-seat.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00