Commit 0e81d8cd authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(x_connection_closed): If waiting_for_input, call quit_throw_to_read_char.

parent ff85d4f3
......@@ -148,6 +148,8 @@ Lisp_Object x_display_name_list;
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 @@ x_connection_closed (display, error_message)
sigunblock (sigmask (SIGALRM));
if (waiting_for_input)
message ("%s", error_message);
quit_throw_to_read_char ();
error ("%s", error_message);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment