libinput/src
Peter Hutterer a4ea4f87f9 lid: remove the keyboard listener on remove and re-init the listener
If the event listener is added, then removed again on a lid switch on/off
event, the list is set to null. This can trigger two crashes:
* when the keyboard is removed first, the call to
  libinput_device_remove_event_listener() dereferences the null pointer
* when the switch is removed first, the call to device_destroy will find a
  remaining event listener and assert

https://bugzilla.redhat.com/show_bug.cgi?id=1440927

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 8dcd71b395)
2017-05-11 10:55:02 +10:00
..
evdev-lid.c lid: remove the keyboard listener on remove and re-init the listener 2017-05-11 10:55:02 +10:00
evdev-middle-button.c evdev: standardize log messsages 2017-02-24 16:04:44 +10:00
evdev-mt-touchpad-buttons.c touchpad: ignore hovering touches for the software button state 2017-03-02 08:34:17 +10:00
evdev-mt-touchpad-edge-scroll.c touchpad: reduce minimum height for horiz edge scrolling to 40mm 2017-02-28 11:32:08 +10:00
evdev-mt-touchpad-gestures.c evdev: standardize log messsages 2017-02-24 16:04:44 +10:00
evdev-mt-touchpad-tap.c evdev: standardize log messsages 2017-02-24 16:04:44 +10:00
evdev-mt-touchpad.c touchpad: remove the lid switch listener on device_removed 2017-05-11 10:54:36 +10:00
evdev-mt-touchpad.h Merge branch 'touchpad-pressure-based-v2' 2017-02-03 11:41:06 +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 evdev: improve type-safety on dispatch switches 2017-01-31 07:36:12 +10:00
evdev-tablet.c evdev: standardize log messsages 2017-02-24 16:04:44 +10:00
evdev-tablet.h evdev: improve type-safety on dispatch switches 2017-01-31 07:36:12 +10:00
evdev.c udev: Remove unused Elantech touchpad model binding 2017-05-02 13:48:38 +10:00
evdev.h udev: Remove unused Elantech touchpad model binding 2017-05-02 13:48:38 +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 Add a helper function for initializing an event listener 2017-01-26 14:44:04 +10:00
libinput-uninstalled.pc.in buildsystem: add missing uninstalled pkg-config infra 2016-08-30 17:18:39 +10:00
libinput-util.c touchpad: move the pressure range to a hwdb entry 2017-05-02 13:48:26 +10:00
libinput-util.h touchpad: move the pressure range to a hwdb entry 2017-05-02 13:48:26 +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 Swap the return values for unsupported scroll button configs 2017-02-06 11:23:18 +10:00
libinput.h Add doc to discourage use of libinput_device_get_output_name() 2017-04-25 11:09:30 +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 switch: move the lid switch bits into their own file 2017-01-26 14:44:04 +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: prefix all messages with "timer:" 2017-02-24 16:04:44 +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