changeset 15507:3fe1a322fbf5

(x_connection_closed): If waiting_for_input, call quit_throw_to_read_char.
author Richard M. Stallman <rms@gnu.org>
date Tue, 25 Jun 1996 00:32:51 +0000
parents 1a66dbb1a470
children dcd2d760053a
files src/xterm.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Mon Jun 24 22:33:56 1996 +0000
+++ b/src/xterm.c	Tue Jun 25 00:32:51 1996 +0000
@@ -148,6 +148,8 @@
    is the frame to apply to.  */
 extern struct frame *updating_frame;
 
+extern waiting_for_input;
+
 /* This is a frame waiting to be autoraised, within XTread_socket.  */
 struct frame *pending_autoraise_frame;
 
@@ -4533,6 +4535,12 @@
   sigunblock (sigmask (SIGALRM));
   TOTALLY_UNBLOCK_INPUT;
 
+  if (waiting_for_input)
+    {
+      message ("%s", error_message);
+      quit_throw_to_read_char ();
+    }
+
   error ("%s", error_message);
 }