[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mouse-autoselect-window with menu pane

From: YAMAMOTO Mitsuharu
Subject: Re: mouse-autoselect-window with menu pane
Date: Mon, 18 Sep 2006 17:22:14 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Mon, 18 Sep 2006 09:51:22 +0200, martin rudalics <address@hidden> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]