Mercurial > emacs
diff src/xdisp.c @ 58197:6c24ca598cb1
* xmenu.c (unuse_menu_items, pop_down_menu): Arg is of type
Lisp_Object.
(popup_get_selection): Move unwind protect ...
(create_and_show_popup_menu, create_and_show_dialog): ... to here.
Move destroy of widget to pop_down_menu.
(popup_widget_loop): Move unwind protect ...
(create_and_show_popup_menu, create_and_show_dialog): ... to here.
Move destroy of widget to pop_down_menu.
(pop_down_menu): BLOCK_INPUT and destroy widget/window.
(xmenu_show): record unwind pop_down_menu. Move XMenuDestroy,
x_mouse_leave and grabbed = 0 to pop_down_menu.
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Sat, 13 Nov 2004 20:18:21 +0000 |
parents | a17934e924af |
children | b8e8e0772ced |