From: Andrew Innes Date: Sun, 6 Feb 2000 23:37:47 +0000 (+0000) Subject: (x_make_frame_visible): Replace call to X-Git-Tag: emacs-pretest-21.0.90~5078 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a9b4e0ec68b2e5a6981cb5ac397a0dd878fe05c5;p=emacs.git (x_make_frame_visible): Replace call to input_poll_signal with poll_for_input. --- 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) { /* 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);