[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 79d66b4b297: Process focus-in events immediately on NS
From: |
Daniel Colascione |
Subject: |
master 79d66b4b297: Process focus-in events immediately on NS |
Date: |
Wed, 2 Oct 2024 13:46:32 -0400 (EDT) |
branch: master
commit 79d66b4b2970b915abfde516d867107afa19348f
Author: Daniel Colascione <dancol@dancol.org>
Commit: Daniel Colascione <dancol@dancol.org>
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).
---
src/nsterm.m | 1 +
1 file changed, 1 insertion(+)
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)
event.kind = FOCUS_IN_EVENT;
XSETFRAME (event.frame_or_window, emacsframe);
kbd_buffer_store_event (&event);
+ ns_send_appdefined (-1); // Kick main loop
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 79d66b4b297: Process focus-in events immediately on NS,
Daniel Colascione <=