I obtain the error message 'X connection to :0.0 broken (explicit kill or server shutdown)' when I close an X graphical window using the window manager close button.
The graphical application is written in C and uses X11 library.
Applications written using MOTIF library doesn't do so, they seem to close cleanly.
How can I get rid of this?
What event have I to manage?