diff options
-rw-r--r-- | src/xmenu.c | 4 |
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) 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 |