libinput/src
Peter Hutterer 9f1e8a032c fallback: fix lid switch event listener being initialized twice
Once the lid is closed, the keyboard event listener is set up to open the lid
for us on keyboard events. With the right sequence, we can trigger the
listener to be added to the list multiple times, triggering an assert in the
list test code (or an infinite loop in the 1.8 branch).

Conditions:
* SW_LID value 1 - sets up the keyboard listener
* keyboard event - sets lid_is_closed to false
* SW_LID value 0 - is ignored because we're already open
* SW_LID value 1 - sets up the keyboard listener again

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

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 41a70bbe92)
2017-10-30 11:32:31 +10:00
..
evdev-lid.c fallback: fix lid switch event listener being initialized twice 2017-10-30 11:32:31 +10:00
evdev-middle-button.c evdev: fix a coverity warning 2017-10-09 11:30:42 +10:00
evdev-mt-touchpad-buttons.c touchpad: rename tp_touch->millis to tp_touch->time 2017-06-21 19:07:11 +10:00
evdev-mt-touchpad-edge-scroll.c touchpad: rename tp_touch->millis to tp_touch->time 2017-06-21 19:07:11 +10:00
evdev-mt-touchpad-gestures.c gestures: don't try to pinch for nfingers > slots 2017-09-06 19:40:24 +10:00
evdev-mt-touchpad-tap.c touchpad: ignore the tap motion threshold if fingers > slots 2017-06-26 18:43:59 +10:00
evdev-mt-touchpad.c touchpad: cap the edge palm detection zones at 8mm 2017-10-30 09:42:28 +10:00
evdev-mt-touchpad.h touchpad: rename tp_touch->millis to tp_touch->time 2017-06-21 19:07:11 +10:00
evdev-tablet-pad-leds.c Merge branch 'wip/log-function-rework' 2017-02-27 11:27:41 +10:00
evdev-tablet-pad.c evdev: standardize log messsages 2017-02-24 16:04:44 +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 tablet: remove useless self-assignment 2017-04-01 15:37:24 +10:00
evdev-tablet.h util: harmonize container_of() definition with linux kernel one 2017-05-17 15:04:41 +10:00
evdev.c evdev: update key type check for new key defines 2017-10-04 10:49:44 +10:00
evdev.h evdev: read LIBINPUT_ATTR_KEYBOARD_INTEGRATION property 2017-05-23 15:10:10 +10:00
filter-private.h filter: change the filter functions to take raw device coordinates 2016-12-21 10:55:57 +10:00
filter.c filter: normalize deltas before processing or returning them 2017-01-19 11:56:28 +10:00
filter.h filter: change the filter functions to take raw device coordinates 2016-12-21 10:55:57 +10:00
libinput-private.h Put a check in to make sure our events have correct timestamps 2017-04-28 16:47:38 +10:00
libinput-restore-selinux-context.sh Skip restorecon if it cannot be found 2017-06-23 09:58:42 +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: add an extra assert for list_insert() 2017-10-30 09:42:28 +10:00
libinput-util.h Add tv2us helper function 2017-06-02 12:21:35 +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 Ensure enums are size int 2017-05-10 12:52:20 +10:00
libinput.h Merge branch 'wip/touchpad-tap-timestamps' 2017-05-04 11:51:36 +10:00
libinput.pc.in Add -lrt to the libs 2014-07-03 09:59:43 +10:00
libinput.sym configure.ac: libinput 1.7rc1 2017-02-23 10:49:11 +10:00
Makefile.am Fix make distcheck for missing input-event-codes.h 2017-10-04 12:56:10 +10:00
path-seat.c evdev: standardize log messsages 2017-02-24 16:04:44 +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: always restart the timer loop when we called one of them 2017-09-06 19:38:49 +10:00
timer.h evdev: allow button scrolling on the L/R button with middle emulation active 2017-02-20 12:23:08 +10:00
udev-seat.c evdev: standardize log messsages 2017-02-24 16:04:44 +10:00
udev-seat.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00