[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master eaea02c: Fix while-no-input loops (Bug#19547)
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master eaea02c: Fix while-no-input loops (Bug#19547) |
Date: |
Sat, 31 Jan 2015 08:36:36 +0000 |
branch: master
commit eaea02c71ae15d86bb83518796775b6c3c77b71e
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Fix while-no-input loops (Bug#19547)
src/keyboard.c (kbd_buffer_store_event_hold): Ignore FOCUS_OUT_EVENT
and ICONIFY_EVENT for the purposes of breaking while-no-input
loops.
---
src/ChangeLog | 4 ++++
src/keyboard.c | 2 ++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/ChangeLog b/src/ChangeLog
index fd21130..61d1067 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,9 @@
2015-01-31 Eli Zaretskii <address@hidden>
+ * keyboard.c (kbd_buffer_store_event_hold): Ignore FOCUS_OUT_EVENT
+ and ICONIFY_EVENT for the purposes of breaking while-no-input
+ loops. (Bug#19547)
+
* dired.c (read_dirent): Correct the "MSDOS hacks" hack: the
special code for errno = ENOENT or EACCES is needed for WINDOWSNT,
not for MSDOS.
diff --git a/src/keyboard.c b/src/keyboard.c
index 383c109..7718f8e 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3639,7 +3639,9 @@ kbd_buffer_store_event_hold (register struct input_event
*event,
as input, set quit-flag to cause an interrupt. */
if (!NILP (Vthrow_on_input)
&& event->kind != FOCUS_IN_EVENT
+ && event->kind != FOCUS_OUT_EVENT
&& event->kind != HELP_EVENT
+ && event->kind != ICONIFY_EVENT
&& event->kind != DEICONIFY_EVENT)
{
Vquit_flag = Vthrow_on_input;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master eaea02c: Fix while-no-input loops (Bug#19547),
Eli Zaretskii <=