[comp.windows.x] window deletion

jhs@monet.wbst128.xerox.com (Hans Schlichter) (08/04/89)

If I use the "Destroy Window" of the TWM window manager to destroy
a client window I usually get an XIO error:
	fatal IO error 32 (Broken pipe) on X server "......"

Did ever anybody attempt to modify client programs to handle the
destroy action of a window manager? I looked in the ICCCM document
(version 1.0) and found a section on window deletion. It mentioned 
to use WM_DELETE_WINDOW in the WM_PROTOCOLS property. However,
I did not find anything on this property in the remaining X documentation.

/Hans

ArpaNet: schlichter.wbst128@xerox.com

rws@EXPO.LCS.MIT.EDU (08/07/89)

    Did ever anybody attempt to modify client programs to handle the
    destroy action of a window manager? I looked in the ICCCM document
    (version 1.0) and found a section on window deletion. It mentioned 
    to use WM_DELETE_WINDOW in the WM_PROTOCOLS property.

WM_DELETE_WINDOW isn't exactly the same as killing a client, although
some clients might interpret it as such.  There is, as yet, no standard
mechanism for gracefully shutting down a client.

    However, I did not find anything on this property in the remaining X
    documentation.

Perhaps because the ICCCM is new, and you're looking at other documentation
that predates it.