]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_make_frame_visible): Replace call to
authorAndrew Innes <andrewi@gnu.org>
Sun, 6 Feb 2000 23:37:47 +0000 (23:37 +0000)
committerAndrew Innes <andrewi@gnu.org>
Sun, 6 Feb 2000 23:37:47 +0000 (23:37 +0000)
input_poll_signal with poll_for_input.

src/w32term.c

index dff7bf936d33dfda0c30a543b9b77ead2aa9c780..a052be06df88620bf3a7e3565d971663529ebe79 100644 (file)
@@ -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);