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