summaryrefslogtreecommitdiff
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2004-11-04 10:04:16 +0000
committerRichard M. Stallman <rms@gnu.org>2004-11-04 10:04:16 +0000
commit89bf74f828fc00e65e00ade6757bd08c50fc2f08 (patch)
treea941f6635e3f89aac27bb5f2b0942b3322ba9e0f /src/xmenu.c
parent9e6856a7a4c07f3cb009768554e81624615c570c (diff)
downloademacs-89bf74f828fc00e65e00ade6757bd08c50fc2f08.tar.gz
Comment change.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 371ae14f12e..d47c1767c31 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -1120,9 +1120,13 @@ on the left of the dialog box and all following items on the right.
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. */