summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-06-27 23:20:46 +0000
committerRichard M. Stallman <rms@gnu.org>1996-06-27 23:20:46 +0000
commita90d79faf748d39b7944b07ea83109dfc8f37f00 (patch)
treef2447c8a123a5d26f9661cd6ad133606b0f2c4ac
parentc3635406286a74beeff2de08f0d30f434356a2bf (diff)
downloademacs-a90d79faf748d39b7944b07ea83109dfc8f37f00.tar.gz
(x_connection_closed): Call clear_waiting_for_input.
-rw-r--r--src/xterm.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 4dfaece68b2..49dd9fe164b 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -4531,12 +4531,7 @@ x_connection_closed (display, error_message)
sigunblock (sigmask (SIGALRM));
TOTALLY_UNBLOCK_INPUT;
- if (waiting_for_input)
- {
- message ("%s", error_message);
- quit_throw_to_read_char ();
- }
-
+ clear_waiting_for_input ();
error ("%s", error_message);
}