From a9b4e0ec68b2e5a6981cb5ac397a0dd878fe05c5 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Sun, 6 Feb 2000 23:37:47 +0000 Subject: (x_make_frame_visible): Replace call to input_poll_signal with poll_for_input. --- src/w32term.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/w32term.c') diff --git a/src/w32term.c b/src/w32term.c index dff7bf936d..a052be06df 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -9398,8 +9398,10 @@ x_make_frame_visible (f) { /* It could be confusing if a real alarm arrives while processing the fake one. Turn it off and let the handler reset it. */ - alarm (0); - input_poll_signal (0); + int old_poll_suppress_count = poll_suppress_count; + poll_suppress_count = 1; + poll_for_input_1 (); + poll_suppress_count = old_poll_suppress_count; } } FRAME_SAMPLE_VISIBILITY (f); -- cgit v1.2.3