How should I go if I wanted my X client to survive the X server
disconnecting it?

I thought of doing something like setjmp before every Xlib calls, with
an XSetIOErrorHandler that longjmp back, but I am suspicious of leaks...

How screwed am I exactly?

The goal would be to have an application survice an X server crash,
because I wrote my code to be able to connect to multiple X servers
(multi-user application), but it is rather sensitive (one user's X
connection is lost, everything goes to hell).

-- 
Pierre Phaneuf
http://advogato.org/person/pphaneuf/
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to