aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
authorAndrew Innes <[email protected]>2000-02-06 23:37:47 +0000
committerAndrew Innes <[email protected]>2000-02-06 23:37:47 +0000
commita9b4e0ec68b2e5a6981cb5ac397a0dd878fe05c5 (patch)
tree0e46e1f90e8a56abfec47202211b312582fc9ecf /src/w32term.c
parent8f900f6e165c1a33a9321c005da33739707c2b7b (diff)
(x_make_frame_visible): Replace call to
input_poll_signal with poll_for_input.
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c6
1 files changed, 4 insertions, 2 deletions
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);