projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e05512b
)
Make sure native keypresses are received immediately on GTK
author
Po Lu
<luangruo@yahoo.com>
Sat, 8 Jan 2022 13:28:11 +0000
(21:28 +0800)
committer
Po 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
patch
|
blob
|
history
diff --git
a/src/gtkutil.c
b/src/gtkutil.c
index aaa2933f86eb66239df6f44228a1a5509a494389..ff5c0f27510bb66a0f42b91eb56f1569c63f5365 100644
(file)
--- 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;
}