aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2019-02-19 20:58:53 +0200
committerEli Zaretskii2019-02-19 20:58:53 +0200
commit6985caa86e49e4a69e4d7ff7ec6d25cca301d560 (patch)
tree02dc54bba7233d184527de10df761d030721f98c /src
parent715388acec4f702cece33b579315ef1c6c1df127 (diff)
downloademacs-6985caa86e49e4a69e4d7ff7ec6d25cca301d560.tar.gz
emacs-6985caa86e49e4a69e4d7ff7ec6d25cca301d560.zip
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)
Diffstat (limited to 'src')
-rw-r--r--src/w32term.c3
1 files changed, 3 insertions, 0 deletions
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)
6672 } 6672 }
6673 6673
6674 if (!FLOATP (Vx_wait_for_event_timeout)) 6674 if (!FLOATP (Vx_wait_for_event_timeout))
6675 {
6676 unblock_input ();
6675 return; 6677 return;
6678 }
6676 6679
6677 /* Synchronize to ensure Emacs knows the frame is visible 6680 /* Synchronize to ensure Emacs knows the frame is visible
6678 before we do anything else. We do this loop with input not blocked 6681 before we do anything else. We do this loop with input not blocked