From 1a532e5428c6d80c68c643d3e827d68f386e4f28 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 2 Jan 2001 13:32:43 +0000 Subject: [PATCH] (x_connection_closed): Set handling_signal to 0 at the start. --- src/xterm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index ff90cf8d7c3..4eb459cba59 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -11263,6 +11263,8 @@ x_connection_closed (dpy, error_message) struct x_display_info *dpyinfo = x_display_info_for_display (dpy); Lisp_Object frame, tail; + handling_signal = 0; + /* We have to close the display to inform Xt that it doesn't exist anymore. If we don't, Xt will continue to wait for events from the display. As a consequence, a sequence of @@ -11339,7 +11341,6 @@ x_connection_closed (dpy, error_message) TOTALLY_UNBLOCK_INPUT; clear_waiting_for_input (); - handling_signal = 0; error ("%s", error_message); } -- 2.39.2