changeset 7129:6b894fba586b

(xmenu_show, xdialog_show): If we unread some events, set interrupt_input_pending.
author Richard M. Stallman <rms@gnu.org>
date Wed, 27 Apr 1994 08:27:50 +0000
parents 6c6a776a64e1
children b3e9a76134d2
files src/xmenu.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xmenu.c	Wed Apr 27 08:27:00 1994 +0000
+++ b/src/xmenu.c	Wed Apr 27 08:27:50 1994 +0000
@@ -1682,6 +1682,8 @@
       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 @@
       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