From: Eli Zaretskii Date: Tue, 19 Feb 2019 18:58:53 +0000 (+0200) Subject: Fix input after setting x-wait-for-event-timeout nil X-Git-Tag: emacs-26.1.92~5 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6985caa;p=emacs.git 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) --- diff --git a/src/w32term.c b/src/w32term.c index a9b5793a3ec..dbaf1054f1f 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -6672,7 +6672,10 @@ x_make_frame_visible (struct frame *f) } if (!FLOATP (Vx_wait_for_event_timeout)) + { + unblock_input (); return; + } /* Synchronize to ensure Emacs knows the frame is visible before we do anything else. We do this loop with input not blocked