From: Po Lu Date: Sat, 8 Jan 2022 13:28:11 +0000 (+0800) Subject: Make sure native keypresses are received immediately on GTK X-Git-Tag: emacs-29.0.90~3194 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c1106b2ee7e91c2a7eb7caa91c792008ab31ed87;p=emacs.git Make sure native keypresses are received immediately on GTK * src/gtkutil.c (xg_widget_key_press_event_cb): Send input available signal. --- diff --git a/src/gtkutil.c b/src/gtkutil.c index aaa2933f86e..ff5c0f27510 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -6250,6 +6250,8 @@ xg_widget_key_press_event_cb (GtkWidget *widget, GdkEvent *event, xg_pending_quit_event.kind = NO_EVENT; kbd_buffer_store_buffered_event (&inev, &xg_pending_quit_event); } + + raise (SIGIO); return true; }