comparison src/device-x.c @ 5348:39304a35b6b3

Don't commit suicide when an X device dies. 2011-01-30 Michael Sperber <mike@xemacs.org> * redisplay.h: * redisplay.c: (redisplay_cancel_ritual_suicide): * eval.c (throw_or_bomb_out_unsafe): * device-x.c (x_IO_error_handler): Don't commit suicide when an X device dies.
author Mike Sperber <sperber@deinprogramm.de>
date Sun, 30 Jan 2011 12:20:19 +0100
parents f19e6bc25969
children 0af042a0c116
comparison
equal deleted inserted replaced
5347:fd441b85d760 5348:39304a35b6b3
1253 { 1253 {
1254 enqueue_magic_eval_event (io_error_delete_device, dev); 1254 enqueue_magic_eval_event (io_error_delete_device, dev);
1255 DEVICE_X_BEING_DELETED (d) = 1; 1255 DEVICE_X_BEING_DELETED (d) = 1;
1256 } 1256 }
1257 1257
1258 throw_or_bomb_out (Qtop_level, Qnil, 0, Qnil, Qnil); 1258 redisplay_cancel_ritual_suicide();
1259 throw_or_bomb_out_unsafe (Qtop_level, Qnil, 0, Qnil, Qnil);
1259 1260
1260 RETURN_NOT_REACHED (0); 1261 RETURN_NOT_REACHED (0);
1261 } 1262 }
1262 1263
1263 DEFUN ("x-debug-mode", Fx_debug_mode, 1, 2, 0, /* 1264 DEFUN ("x-debug-mode", Fx_debug_mode, 1, 2, 0, /*