changeset 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 95dde6f88b39
children 7ca771f4c076
files src/w32term.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
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);