aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32term.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/w32term.c b/src/w32term.c
index dff7bf936d3..a052be06df8 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -9398,8 +9398,10 @@ x_make_frame_visible (f)
9398 { 9398 {
9399 /* It could be confusing if a real alarm arrives while processing 9399 /* It could be confusing if a real alarm arrives while processing
9400 the fake one. Turn it off and let the handler reset it. */ 9400 the fake one. Turn it off and let the handler reset it. */
9401 alarm (0); 9401 int old_poll_suppress_count = poll_suppress_count;
9402 input_poll_signal (0); 9402 poll_suppress_count = 1;
9403 poll_for_input_1 ();
9404 poll_suppress_count = old_poll_suppress_count;
9403 } 9405 }
9404 } 9406 }
9405 FRAME_SAMPLE_VISIBILITY (f); 9407 FRAME_SAMPLE_VISIBILITY (f);