diff src/xmenu.c @ 58169:611113427737

(popup_widget_loop): Add argument do_timers. (create_and_show_popup_menu, create_and_show_dialog): Pass 1 for do_timers to popup_widget_loop. (create_and_show_popup_menu): Pass 1 for do_timers to popup_get_selection.
author Jan Djärv <jan.h.d@swipnet.se>
date Fri, 12 Nov 2004 09:36:55 +0000
parents ab22e6ae6fac
children 66ace4a9a250
line wrap: on
line diff
--- a/src/xmenu.c	Fri Nov 12 08:33:51 2004 +0000
+++ b/src/xmenu.c	Fri Nov 12 09:36:55 2004 +0000
@@ -2456,7 +2456,7 @@
      two.  show_help_echo uses this to detect popup menus.  */
   popup_activated_flag = 1;
   /* Process events that apply to the menu.  */
-  popup_widget_loop (0);
+  popup_widget_loop (1);
 
   gtk_widget_destroy (menu);
 
@@ -2544,7 +2544,7 @@
   popup_activated_flag = 1;
 
   /* Process events that apply to the menu.  */
-  popup_get_selection ((XEvent *) 0, FRAME_X_DISPLAY_INFO (f), menu_id, 0, 0);
+  popup_get_selection ((XEvent *) 0, FRAME_X_DISPLAY_INFO (f), menu_id, 1, 0);
 
   /* fp turned off the following statement and wrote a comment
      that it is unnecessary--that the menu has already disappeared.