Is there some way to intercept the close window command when a person closes the window by clicking on the "x" in the right hand corner? I never get a DestroyNotify message and the rest of the program closes with: X connection to :0.0 broken (explicit kill or server shutdown). thanks Ted _______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86