On Mon, 12 Nov 2001, Pranay Kumar wrote:

> Hi all,
> 
> I have a simple program to display images. I create a Xwindow() and then
> XvShmPutImage() in to it. Then I wait for mouse click that closes the
> window. My problem is that if the user closes the window (using cross in
> the title bar) my program give "Fatal IO error: client killed".
> 
> How can I exit gracefully when the user closes the window?
> 

   They didn't close the window, they killed the connection.
I'm not sure there is much you can do there.   Maybe there is
an error handler for that which you can supply, but I don't
remember it.


                                Mark.

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to