Colin Rafferty <craffert(a)ms.com> writes:
 I just accidentally killed my X server at home, but when I started
 it back up again and reconnected to work, my XEmacs was still alive,
 and its device on my home machine was cleanly deleted.
 
 I'm used to losing my 200+ buffers, and my sanity when that happens.
 It didn't happen.
 
 To whom do I owe the nice bottle of champagne? 
I'm a likely candidate, although there were other people who tried to
fix the problem before (most notably Steve.)
Interestingly enough, my fix didn't work for me when I tested it on
Solaris (XEmacs would enter a dumb mode), but I installed it anyway
because the new code simply seemed like a sensible thing to do.  I'm
glad it at least helped someone.
1998-08-28  Hrvoje Niksic  <hniksic(a)srce.hr>
	* event-Xt.c (emacs_Xt_mapping_action): Check for device being
 	deleted.
	(x_event_to_emacs_event): Ditto.
	(emacs_Xt_handle_focus_event): Ditto.
	(emacs_Xt_handle_magic_event): Ditto.
	* console-x.h (struct x_device): New flag being_deleted.
	(DEVICE_X_BEING_DELETED): New macro.
	* device-x.c (x_IO_error_handler): Throw to top-level instead of
	returning.  Before doing that, set the being_deleted flag on the
	device.
1998-08-27  Hrvoje Niksic  <hniksic(a)srce.hr>
	* device-x.c (x-seppuku-on-epipe): Removed.