backends: push missing error trap

This went MIA in commit 390314adfb, and causes asserts when
trying to pop a non-existent error trap a bit later.

Closes: #294
This commit is contained in:
Carlos Garnacho 2018-09-07 19:31:35 +02:00
parent 9cfd185316
commit b3b3bf1bae

View File

@ -783,6 +783,9 @@ meta_input_settings_x11_set_stylus_button_map (MetaInputSettings *setti
/* Grab the puke bucket! */ /* Grab the puke bucket! */
xdev = device_ensure_xdevice (device); xdev = device_ensure_xdevice (device);
meta_x11_error_trap_push (display->x11_display);
if (xdev) if (xdev)
{ {
guchar map[8] = { guchar map[8] = {