# HG changeset patch # User Gerd Moellmann # Date 978442363 0 # Node ID bbd0e7b5043a9d4bd9a4e1afebdf60c9c18d1b54 # Parent 023bd66b66f5663901f2d804caa5cb96cb98a910 (x_connection_closed): Set handling_signal to 0 at the start. diff -r 023bd66b66f5 -r bbd0e7b5043a src/xterm.c --- a/src/xterm.c Tue Jan 02 12:11:32 2001 +0000 +++ b/src/xterm.c Tue Jan 02 13:32:43 2001 +0000 @@ -11263,6 +11263,8 @@ 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 @@ TOTALLY_UNBLOCK_INPUT; clear_waiting_for_input (); - handling_signal = 0; error ("%s", error_message); }