diff options
| author | Daniel Colascione | 2024-10-02 10:34:52 -0700 |
|---|---|---|
| committer | Daniel Colascione | 2024-10-02 10:35:22 -0700 |
| commit | 79d66b4b2970b915abfde516d867107afa19348f (patch) | |
| tree | d92da2e698879489198f3f45ff3733f9e6497f96 /src | |
| parent | 4bb62af3263057312021e076dc7e0c8ff195e38f (diff) | |
| download | emacs-79d66b4b2970b915abfde516d867107afa19348f.tar.gz emacs-79d66b4b2970b915abfde516d867107afa19348f.zip | |
Process focus-in events immediately on NS
* src/nsterm.m ([EmacsView windowDidBecomeKey]): kick the main
event loop when we get a focus-in event so it gets processed
immediately (Bug#73559).
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsterm.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nsterm.m b/src/nsterm.m index 8c405738467..f68a22d9fbc 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -7973,6 +7973,7 @@ ns_in_echo_area (void) | |||
| 7973 | event.kind = FOCUS_IN_EVENT; | 7973 | event.kind = FOCUS_IN_EVENT; |
| 7974 | XSETFRAME (event.frame_or_window, emacsframe); | 7974 | XSETFRAME (event.frame_or_window, emacsframe); |
| 7975 | kbd_buffer_store_event (&event); | 7975 | kbd_buffer_store_event (&event); |
| 7976 | ns_send_appdefined (-1); // Kick main loop | ||
| 7976 | } | 7977 | } |
| 7977 | 7978 | ||
| 7978 | 7979 | ||