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?

Regards,
Pranay

-------------------
Pranay Kumar
R&D Engineer
GDC Technology
Fax: (852)23373566

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

Reply via email to