mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
7764fd2079
libinput_suspend() will trigger the removal of input devices, but also the emission of button/key releases pairing everything that is pressed at that moment. These events are queued, but the ClutterInputDevice pointers in these will point to invalid memory at the time these are processed. Fix this by flushing the event queue, in order to ensure there are no unprocessed input events after libinput_suspend(). https://bugzilla.gnome.org/show_bug.cgi?id=738520 |
||
---|---|---|
.. | ||
clutter-device-manager-evdev.c | ||
clutter-device-manager-evdev.h | ||
clutter-evdev.h | ||
clutter-input-device-evdev.c | ||
clutter-input-device-evdev.h | ||
clutter-xkb-utils.c | ||
clutter-xkb-utils.h |