Commit d219bd4d authored by Emmanuele Bassi's avatar Emmanuele Bassi

x11: Balance an error trap

We are pushing an error trap, and never popping it from the stack.
parent 255e2dd7
......@@ -2701,7 +2701,7 @@ drag_context_grab (GdkDragContext *context)
g_set_object (&x11_context->grab_seat, seat);
gdk_error_trap_push ();
gdk_x11_display_error_trap_push (gdk_window_get_display (x11_context->ipc_window));
for (i = 0; i < G_N_ELEMENTS (grab_keys); ++i)
......@@ -2753,6 +2753,8 @@ drag_context_grab (GdkDragContext *context)
gdk_x11_display_error_trap_pop_ignored (gdk_window_get_display (x11_context->ipc_window));
return TRUE;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment