Didier Verna <verna(a)inf.enst.fr> writes:
> > The real pain is that X considers it fatal to loose a
connection,
> > even in the case you have several ones.
>
> Yuck! Is there a way around that?
Dunno. One day I'll try to return from a fatal io error handler and
continue calling Xlib on the other displays if I have some.
Hey, that's exactly what my patch does.
I'd be curious to see if still works but I doubt it seriously.
The
other solution I was thinking of was using a set of set/long jmp
stuff to go back some place once we know that a connection is broken
(the io error handler was called), and try to get rid of the
connection ourself. I haven't investigated much yet.
This is what my patch does. Throw to top-level is basically a series
of longjmp's.
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Do not meddle in the affairs of troff, for it is subtle and quick
to anger.