From 6985caa86e49e4a69e4d7ff7ec6d25cca301d560 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 19 Feb 2019 20:58:53 +0200 Subject: [PATCH] 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) --- src/w32term.c | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5