Commit eaea02c7 authored by Eli Zaretskii's avatar Eli Zaretskii

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.
parent 376ba20a
2015-01-31 Eli Zaretskii <eliz@gnu.org>
* 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.
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment