diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-11-10 17:41:37 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2019-11-10 19:45:08 +0100 |
commit | 5afec87b96828424a4a35ef9ccf9ddcc3e2edda6 (patch) | |
tree | 9d4ecb7b99b621a581124e92bd6d3ae00c25dcb9 /src/compositor/compositor.c | |
parent | a4f51da184e8eab0a2d44d0fc535032515436e8d (diff) | |
download | mutter-5afec87b96828424a4a35ef9ccf9ddcc3e2edda6.tar.gz |
input-settings/x11: Add missing clutter_x11_trap_x_errors around XIGetProperty
Add missing clutter_x11_[un]trap_x_errors around the XIGetProperty call
in meta-input-settings-x11.c's get_property helper function.
This fixes mutter crashing with the following error if the XInput device
goes away at an unconvenient time:
X Error of failed request: XI_BadDevice (invalid Device parameter)
Major opcode of failed request: 131 (XInputExtension)
Minor opcode of failed request: 59 ()
Device id in failed request: 0x200011
Serial number of failed request: 454
Current serial number in output stream: 454
https://gitlab.gnome.org/GNOME/mutter/merge_requests/928
Diffstat (limited to 'src/compositor/compositor.c')
0 files changed, 0 insertions, 0 deletions