comparison src/xterm.c @ 34949:bbd0e7b5043a

(x_connection_closed): Set handling_signal to 0 at the start.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 02 Jan 2001 13:32:43 +0000
parents 1d671133e618
children c26b7651dd9f
comparison
equal deleted inserted replaced
34948:023bd66b66f5 34949:bbd0e7b5043a
11261 char *error_message; 11261 char *error_message;
11262 { 11262 {
11263 struct x_display_info *dpyinfo = x_display_info_for_display (dpy); 11263 struct x_display_info *dpyinfo = x_display_info_for_display (dpy);
11264 Lisp_Object frame, tail; 11264 Lisp_Object frame, tail;
11265 11265
11266 handling_signal = 0;
11267
11266 /* We have to close the display to inform Xt that it doesn't 11268 /* We have to close the display to inform Xt that it doesn't
11267 exist anymore. If we don't, Xt will continue to wait for 11269 exist anymore. If we don't, Xt will continue to wait for
11268 events from the display. As a consequence, a sequence of 11270 events from the display. As a consequence, a sequence of
11269 11271
11270 M-x make-frame-on-display RET :1 RET 11272 M-x make-frame-on-display RET :1 RET
11337 #endif 11339 #endif
11338 sigunblock (sigmask (SIGALRM)); 11340 sigunblock (sigmask (SIGALRM));
11339 TOTALLY_UNBLOCK_INPUT; 11341 TOTALLY_UNBLOCK_INPUT;
11340 11342
11341 clear_waiting_for_input (); 11343 clear_waiting_for_input ();
11342 handling_signal = 0;
11343 error ("%s", error_message); 11344 error ("%s", error_message);
11344 } 11345 }
11345 11346
11346 /* This is the usual handler for X protocol errors. 11347 /* This is the usual handler for X protocol errors.
11347 It kills all frames on the display that we got the error for. 11348 It kills all frames on the display that we got the error for.