comparison 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
comparison
equal deleted inserted replaced
57927:ba164890f661 57928:fad95a27e1d8
1118 1118
1119 /* Loop in Xt until the menu pulldown or dialog popup has been 1119 /* Loop in Xt until the menu pulldown or dialog popup has been
1120 popped down (deactivated). This is used for x-popup-menu 1120 popped down (deactivated). This is used for x-popup-menu
1121 and x-popup-dialog; it is not used for the menu bar. 1121 and x-popup-dialog; it is not used for the menu bar.
1122 1122
1123 If DO_TIMERS is nonzero, run timers.
1124 If DOWN_ON_KEYPRESS is nonzero, pop down if a key is pressed. 1123 If DOWN_ON_KEYPRESS is nonzero, pop down if a key is pressed.
1124
1125 This function used to have a DO_TIMERS argument which was
1126 1 in the dialog case, and caused it to run Lisp-level timers.
1127 That was unsafe so we removed it, but does anyone remember
1128 why menus and dialogs were treated differently?
1125 1129
1126 NOTE: All calls to popup_get_selection should be protected 1130 NOTE: All calls to popup_get_selection should be protected
1127 with BLOCK_INPUT, UNBLOCK_INPUT wrappers. */ 1131 with BLOCK_INPUT, UNBLOCK_INPUT wrappers. */
1128 1132
1129 #ifdef USE_X_TOOLKIT 1133 #ifdef USE_X_TOOLKIT