Fix input after setting x-wait-for-event-timeout nil

* src/w32term.c (x_make_frame_visible): Call unblock_input
before returning early.  (Bug#34575)
This commit is contained in:
Eli Zaretskii 2019-02-19 20:58:53 +02:00
parent 715388acec
commit 6985caa86e

View file

@ -6672,7 +6672,10 @@ x_make_frame_visible (struct frame *f)
} }
if (!FLOATP (Vx_wait_for_event_timeout)) if (!FLOATP (Vx_wait_for_event_timeout))
{
unblock_input ();
return; return;
}
/* Synchronize to ensure Emacs knows the frame is visible /* Synchronize to ensure Emacs knows the frame is visible
before we do anything else. We do this loop with input not blocked before we do anything else. We do this loop with input not blocked