Mercurial > emacs
diff src/w32term.c @ 27631:5fe002cf4b37
(x_make_frame_visible): Replace call to
input_poll_signal with poll_for_input.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Sun, 06 Feb 2000 23:37:47 +0000 |
parents | 9625ad0c0f52 |
children | 51d0b4b8fc6a |
line wrap: on
line diff
--- a/src/w32term.c Sun Feb 06 23:37:46 2000 +0000 +++ b/src/w32term.c Sun Feb 06 23:37:47 2000 +0000 @@ -9398,8 +9398,10 @@ { /* 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);