summaryrefslogtreecommitdiff
path: root/src/xterm.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-01-02 13:32:43 +0000
committerGerd Moellmann <gerd@gnu.org>2001-01-02 13:32:43 +0000
commit1a532e5428c6d80c68c643d3e827d68f386e4f28 (patch)
treea59cde5ecfac283a62138560649ab3ca464abc40 /src/xterm.c
parenta13be20798a4fc282b9955c9684916be88c3196e (diff)
downloademacs-1a532e5428c6d80c68c643d3e827d68f386e4f28.tar.gz
(x_connection_closed): Set handling_signal to 0 at
the start.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c3
1 files changed, 2 insertions, 1 deletions
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);
}