]> git.eshelyaron.com Git - emacs.git/commitdiff
Make sure native keypresses are received immediately on GTK
authorPo Lu <luangruo@yahoo.com>
Sat, 8 Jan 2022 13:28:11 +0000 (21:28 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 8 Jan 2022 13:28:11 +0000 (21:28 +0800)
* src/gtkutil.c (xg_widget_key_press_event_cb): Send input
available signal.

src/gtkutil.c

index aaa2933f86eb66239df6f44228a1a5509a494389..ff5c0f27510bb66a0f42b91eb56f1569c63f5365 100644 (file)
@@ -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;
 }