Mercurial > emacs
diff src/xmenu.c @ 57928:fad95a27e1d8
Comment change.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 04 Nov 2004 10:04:16 +0000 |
parents | 1f473607c4a9 |
children | 9b14127a651a 7a0245dd1848 |
line wrap: on
line diff
--- a/src/xmenu.c Thu Nov 04 10:02:38 2004 +0000 +++ b/src/xmenu.c Thu Nov 04 10:04:16 2004 +0000 @@ -1120,9 +1120,13 @@ popped down (deactivated). This is used for x-popup-menu and x-popup-dialog; it is not used for the menu bar. - If DO_TIMERS is nonzero, run timers. If DOWN_ON_KEYPRESS is nonzero, pop down if a key is pressed. + This function used to have a DO_TIMERS argument which was + 1 in the dialog case, and caused it to run Lisp-level timers. + That was unsafe so we removed it, but does anyone remember + why menus and dialogs were treated differently? + NOTE: All calls to popup_get_selection should be protected with BLOCK_INPUT, UNBLOCK_INPUT wrappers. */