>>>>> On Mon, 18 Sep 2006 09:51:22 +0200, martin rudalics <[EMAIL PROTECTED]> >>>>> said:
> For macmenu.c I added a line in `x_activate_menubar' that sets > f->output_data.mac->menubar_active to 1. I'm not sure know whether > this is needed or useful. But note that > f->output_data.mac->menubar_active is currently twice reset to zero > apparently for no good reason. Could someone (YAMAMOTO Mitsuharu) > please test whether my change would break anything on Mac? Menu selection functions on Mac (MenuSelect and PopUpMenuSelect) do not return until the user selects an menu item or cancels the menu selection. So I think menu-or-popup-active-p can always return Qnil on Mac. Actually, f->output_data.mac->menubar_active is not useful and menubar_selection_callback is a misnomer. I guess they were simply copied from the W32 counterparts (not by me). YAMAMOTO Mitsuharu [EMAIL PROTECTED] _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug