How to detect that the X server has been killed or stopped ?

My program that use a window with the override_redirect flag set crashs when
sending x request to a dead X server. I have tried to detect dead X with
XSetErrorHandler() and XSetIOErrorHandler() but the handlers are never
called.
Please help.
Thanks
Bitlov


_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger
http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to