input-settings-x11: Push error trap

Pops are lonely without push, so add one for a happy error trap.

https://gitlab.gnome.org/GNOME/mutter/issues/294
This commit is contained in:
Florian Müllner 2018-09-07 19:37:19 +02:00
parent 9cfd185316
commit a3d9f987c8

View File

@ -782,6 +782,7 @@ meta_input_settings_x11_set_stylus_button_map (MetaInputSettings *setti
return; return;
/* Grab the puke bucket! */ /* Grab the puke bucket! */
meta_x11_error_trap_push (display->x11_display);
xdev = device_ensure_xdevice (device); xdev = device_ensure_xdevice (device);
if (xdev) if (xdev)
{ {