From d9209dee0ac6bcb6f78680ba1241617f05f0ce3c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 27 Apr 1994 08:27:50 +0000 Subject: [PATCH] (xmenu_show, xdialog_show): If we unread some events, set interrupt_input_pending. --- src/xmenu.c | 4 ++++ 1 file changed, 4 insertions(+) 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) XPutBackEvent (XDISPLAY &queue_tmp->event); queue = queue_tmp->next; free ((char *)queue_tmp); + /* Cause these events to get read as soon as we UNBLOCK_INPUT. */ + interrupt_input_pending = 1; } /* Find the selected item, and its pane, to return @@ -1930,6 +1932,8 @@ xdialog_show (f, menubarp, keymaps, title, error) XPutBackEvent (XDISPLAY &queue_tmp->event); queue = queue_tmp->next; free ((char *)queue_tmp); + /* Cause these events to get read as soon as we UNBLOCK_INPUT. */ + interrupt_input_pending = 1; } /* Find the selected item, and its pane, to return -- 2.39.5