Commit f2c4fd22 authored by Jan D's avatar Jan D

Fixes Bug#20142.

* gtkutil.c (delete_cb): Don't send delete event here, it does arrive
in the main loop, even for Gtk 3 (Bug#20142).
parent 9341956c
......@@ -1140,18 +1140,6 @@ delete_cb (GtkWidget *widget,
GdkEvent *event,
gpointer user_data)
#ifdef HAVE_GTK3
/* The event doesn't arrive in the normal event loop. Send event
here. */
struct frame *f = user_data;
struct input_event ie;
XSETFRAME (ie.frame_or_window, f);
kbd_buffer_store_event (&ie);
return TRUE;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment