[comp.windows.x] Problem:Client does not get DestroyEvent running under twm

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (12/17/88)

   Instead of being notified in the client the window manager (twm) kills the 
   client without letting the client do any cleanup. Is this a bug with the
   window manager or am I missing something in the application.

You are missing something in the protocol.  I assume twm is doing a KillClient.
The first thing this request does is run around and remove all of the event
selections the to-be-killed client has made.  Thus, the client being killed
won't get any events.

KillClient is not the appropriate mechanism for shutting down a client.
A more appropriate mechanism has been worked out in the ICCCM (Inter-Client
Communication Conventions Manual), which I expect we will distribute for
public review next month.