aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-04-01 10:10:45 +0000
committerRichard M. Stallman1994-04-01 10:10:45 +0000
commita9c90b7c24fa8c69aa40bf60a60b238e48bf4ef0 (patch)
treed1bbc29c1f71f007f0469cfac1a2d8c3a584900a
parent9a87b4303224437c3217365a8f39b625effa83e7 (diff)
downloademacs-a9c90b7c24fa8c69aa40bf60a60b238e48bf4ef0.tar.gz
emacs-a9c90b7c24fa8c69aa40bf60a60b238e48bf4ef0.zip
(xmenu_show): Undo part of March 11 change:
Do call lw_destroy_all_widgets at the end.
-rw-r--r--src/xmenu.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 9ce7335fbba..0d616b6c067 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -1631,10 +1631,11 @@ xmenu_show (f, x, y, menubarp, keymaps, title, error)
1631 dispatch_dummy_expose (f->display.x->menubar_widget, x, y); 1631 dispatch_dummy_expose (f->display.x->menubar_widget, x, y);
1632 } 1632 }
1633 1633
1634#if 0 /* No need to do that. The menu has disappeared. */ 1634 /* fp turned off the following statement and wrote a comment
1635 that it is unnecessary--that the menu has already disappeared.
1636 I observer that is not so. -- rms. */
1635 /* Make sure the menu disappears. */ 1637 /* Make sure the menu disappears. */
1636 lw_destroy_all_widgets (menu_id); 1638 lw_destroy_all_widgets (menu_id);
1637#endif
1638 1639
1639 /* Unread any events that we got but did not handle. */ 1640 /* Unread any events that we got but did not handle. */
1640 while (queue != NULL) 1641 while (queue != NULL)