/[emacs]/emacs/src/xmenu.c
ViewVC logotype

Diff of /emacs/src/xmenu.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.282 by monnier, Thu Mar 17 01:37:31 2005 UTC revision 1.283 by jhd, Thu Mar 24 18:53:43 2005 UTC
# Line 2490  create_and_show_popup_menu (f, first_wv, Line 2490  create_and_show_popup_menu (f, first_wv,
2490    
2491    record_unwind_protect (pop_down_menu, make_save_value (menu, 0));    record_unwind_protect (pop_down_menu, make_save_value (menu, 0));
2492    
2493    /* Set this to one.  popup_widget_loop increases it by one, so it becomes    if (GTK_WIDGET_MAPPED (menu))
2494       two.  show_help_echo uses this to detect popup menus.  */      {
2495    popup_activated_flag = 1;        /* Set this to one.  popup_widget_loop increases it by one, so it becomes
2496    /* Process events that apply to the menu.  */           two.  show_help_echo uses this to detect popup menus.  */
2497    popup_widget_loop (1, menu);        popup_activated_flag = 1;
2498          /* Process events that apply to the menu.  */
2499          popup_widget_loop (1, menu);
2500        }
2501    
2502    unbind_to (specpdl_count, Qnil);    unbind_to (specpdl_count, Qnil);
2503    

Legend:
Removed from v.1.282  
changed lines
  Added in v.1.283

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26