[comp.windows.x] Use XCloseDisplay

jim@ci-dandelion.CI.COM (Jim Fulton) (10/19/87)

One suggestion/request to people writing X code (both V10 and V11):  please use
XCloseDisplay() instead of relying on the kernel to clean up your connections
after your process exits.  Aside from being conceptually cleaner there are
already X servers in the world that employ user-level transport mechanisms that
may take awhile to recognize when a peer goes away.  Not closing the connection
yourself can result in windows hanging on the screen for some period of time.

                                                           Jim Fulton
                                                           Cognition Inc.
                                                           900 Tech Park Drive
uucp:    ...!{mit-eddie,talcott,necntc}!ci-dandelion!jim   Billerica, MA  01821
domain:    jim@ci-dandelion.ci.com, fulton@eddie.mit.edu   (617) 667-4800