mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 15:56:35 -04:00
Backport: Fix freeze in NS event handling (bug#81510)
* src/nsterm.m (EV_TRAILER): Don't queue event if it's of kind 'NO_EVENT'.
This commit is contained in:
parent
f6e3b4232f
commit
2b47d71922
|
|
@ -446,10 +446,11 @@ - (unsigned long)unsignedLong
|
|||
/* This is a piece of code which is common to all the event handling
|
||||
methods. Maybe it should even be a function. */
|
||||
#define EV_TRAILER(e) \
|
||||
{ \
|
||||
XSETFRAME (emacs_event->frame_or_window, emacsframe); \
|
||||
EV_TRAILER2 (e); \
|
||||
}
|
||||
if (emacs_event->kind != NO_EVENT) \
|
||||
{ \
|
||||
XSETFRAME (emacs_event->frame_or_window, emacsframe); \
|
||||
EV_TRAILER2 (e); \
|
||||
}
|
||||
|
||||
#define EV_TRAILER2(e) \
|
||||
{ \
|
||||
|
|
|
|||
Loading…
Reference in a new issue