}
digest_menu_items (menu, 0, menu_items_used, 0);
BView_convert_to_screen (view, &x, &y);
- unblock_input ();
-
menu_item_selection = BMenu_run (menu, x, y);
+ unblock_input ();
FRAME_DISPLAY_INFO (f)->grabbed = 0;
if (!NILP (subprefix_stack[j]))
entry = Fcons (subprefix_stack[j], entry);
}
+ block_input ();
BPopUpMenu_delete (menu);
+ unblock_input ();
return entry;
}
i += MENU_ITEMS_ITEM_LENGTH;
}
else if (!(menuflags & MENU_FOR_CLICK))
{
+ block_input ();
BPopUpMenu_delete (menu);
+ unblock_input ();
quit ();
}
+ block_input ();
BPopUpMenu_delete (menu);
+ unblock_input ();
return Qnil;
}