bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar


From: Alan Third
Subject: bug#19120: 25.0.50; macosx: f10 does NOT go to the menu bar
Date: Sat, 23 Oct 2021 11:18:33 +0100

On Thu, Oct 21, 2021 at 08:21:56AM +0800, Po Lu wrote:
> Alan Third <alan@idiocy.org> writes:
> 
> > Is there a reason to avoid faking a mouse event?
> >
> > Assuming the first answer here is correct:
> >
> >     
> > https://stackoverflow.com/questions/21583559/nsmenu-programmatically-select-item
> >
> > it looks quite straightforward and clean.
> 
> Aren't performClick and selectItemAtIndex only for popup menus, which
> the system menu bar is not?

I guess so.

Since the macOS method doesn't work we'll need to retain the current
behaviour there. The rest of the code can therefore be #if'd off as
GNUstep only, perhaps with a short explanation why.

Also, can you please move ns_activate_menubar to somewhere near the
rest of the menu code? It should probably be above the implementation
of EmacsMenu.

-- 
Alan Third





reply via email to

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