Compare commits

..

1 Commits

Author SHA1 Message Date
Carlos Garnacho
b3b3bf1bae 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
2018-09-07 19:31:35 +02:00
2 changed files with 4 additions and 2 deletions

View File

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

View File

@@ -1729,8 +1729,7 @@ reload_gtk_hide_titlebar_when_maximized (MetaWindow *window,
window->hide_titlebar_when_maximized = requested_value;
if (META_WINDOW_MAXIMIZED (window) ||
META_WINDOW_TILED_SIDE_BY_SIDE (window))
if (META_WINDOW_MAXIMIZED (window))
{
meta_window_queue (window, META_QUEUE_MOVE_RESIZE);
meta_window_frame_size_changed (window);