aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-04-27 08:27:50 +0000
committerRichard M. Stallman1994-04-27 08:27:50 +0000
commitd9209dee0ac6bcb6f78680ba1241617f05f0ce3c (patch)
tree8cb63ecf5baa3e592d7360b1b3b7547f5fb123c0 /src
parent0a1788157b921f8a0b3d1819a8ba716806fa15ca (diff)
downloademacs-d9209dee0ac6bcb6f78680ba1241617f05f0ce3c.tar.gz
emacs-d9209dee0ac6bcb6f78680ba1241617f05f0ce3c.zip
(xmenu_show, xdialog_show):
If we unread some events, set interrupt_input_pending.
Diffstat (limited to 'src')
-rw-r--r--src/xmenu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 50e3ceb2ccd..40aadbcc06c 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -1682,6 +1682,8 @@ xmenu_show (f, x, y, menubarp, keymaps, title, error)
1682 XPutBackEvent (XDISPLAY &queue_tmp->event); 1682 XPutBackEvent (XDISPLAY &queue_tmp->event);
1683 queue = queue_tmp->next; 1683 queue = queue_tmp->next;
1684 free ((char *)queue_tmp); 1684 free ((char *)queue_tmp);
1685 /* Cause these events to get read as soon as we UNBLOCK_INPUT. */
1686 interrupt_input_pending = 1;
1685 } 1687 }
1686 1688
1687 /* Find the selected item, and its pane, to return 1689 /* Find the selected item, and its pane, to return
@@ -1930,6 +1932,8 @@ xdialog_show (f, menubarp, keymaps, title, error)
1930 XPutBackEvent (XDISPLAY &queue_tmp->event); 1932 XPutBackEvent (XDISPLAY &queue_tmp->event);
1931 queue = queue_tmp->next; 1933 queue = queue_tmp->next;
1932 free ((char *)queue_tmp); 1934 free ((char *)queue_tmp);
1935 /* Cause these events to get read as soon as we UNBLOCK_INPUT. */
1936 interrupt_input_pending = 1;
1933 } 1937 }
1934 1938
1935 /* Find the selected item, and its pane, to return 1939 /* Find the selected item, and its pane, to return