comparison src/xmenu.c @ 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 2d0ee7ef620a
children 5fa65268508b
comparison
equal deleted inserted replaced
7128:6c6a776a64e1 7129:6b894fba586b
1680 { 1680 {
1681 queue_tmp = queue; 1681 queue_tmp = queue;
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
1688 the proper value. */ 1690 the proper value. */
1689 if (menu_item_selection != 0) 1691 if (menu_item_selection != 0)
1928 { 1930 {
1929 queue_tmp = queue; 1931 queue_tmp = queue;
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
1936 the proper value. */ 1940 the proper value. */
1937 if (menu_item_selection != 0) 1941 if (menu_item_selection != 0)