1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(make_menu_in_widget): Set mapping delay

for cascade buttons to zero.
This commit is contained in:
Richard M. Stallman 1996-06-10 17:31:25 +00:00
parent fdbf0fc738
commit 5efe98b7b6

View File

@ -440,7 +440,10 @@ make_menu_in_widget (instance, widget, val, keep_first_children)
{
menu = XmCreatePulldownMenu (widget, cur->name, NULL, 0);
make_menu_in_widget (instance, menu, cur->contents, 0);
XtSetArg (al [ac], XmNsubMenuId, menu); ac++;
XtSetArg (al [ac], XmNsubMenuId, menu); ac++;
/* non-zero values don't work reliably in
conjunction with Emacs' event loop */
XtSetArg (al [ac], XmNmappingDelay, 0); ac++;
button = XmCreateCascadeButtonGadget (widget, cur->name, al, ac);
xm_update_label (instance, button, cur);