[Top][All Lists]

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

Re: system "key" events in NS port

From: Stefan Monnier
Subject: Re: system "key" events in NS port
Date: Wed, 11 Mar 2009 10:27:36 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

> The events sent in the NS port to signal menu actions such as "Quit Emacs"
> (application menu) are sent as NON_ASCII_KEYSTROKE_EVENTs,  which lead to
> last_nonmenu_event being set.  This is unfortunate,  because functions like
> y-or-n-p depend on the variable to decide  whether to show a graphical
> dialog when the mouse was used.

> The patch below has an #ifdef HAVE_NS, which can be removed should other
> platforms exhibit the same problem.

I think the right way to do it is to add a new event_kind rather than
abuse `arg'.


reply via email to

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