[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/xmenu.c
From: |
Jan Djärv |
Subject: |
[Emacs-diffs] Changes to emacs/src/xmenu.c |
Date: |
Thu, 24 Mar 2005 13:53:43 -0500 |
Index: emacs/src/xmenu.c
diff -c emacs/src/xmenu.c:1.282 emacs/src/xmenu.c:1.283
*** emacs/src/xmenu.c:1.282 Thu Mar 17 01:37:31 2005
--- emacs/src/xmenu.c Thu Mar 24 18:53:43 2005
***************
*** 2490,2500 ****
record_unwind_protect (pop_down_menu, make_save_value (menu, 0));
! /* Set this to one. popup_widget_loop increases it by one, so it becomes
! two. show_help_echo uses this to detect popup menus. */
! popup_activated_flag = 1;
! /* Process events that apply to the menu. */
! popup_widget_loop (1, menu);
unbind_to (specpdl_count, Qnil);
--- 2490,2503 ----
record_unwind_protect (pop_down_menu, make_save_value (menu, 0));
! if (GTK_WIDGET_MAPPED (menu))
! {
! /* Set this to one. popup_widget_loop increases it by one, so it
becomes
! two. show_help_echo uses this to detect popup menus. */
! popup_activated_flag = 1;
! /* Process events that apply to the menu. */
! popup_widget_loop (1, menu);
! }
unbind_to (specpdl_count, Qnil);