Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!linus!necntc!ci-dandelion!jim From: jim@ci-dandelion.CI.COM (Jim Fulton) Newsgroups: comp.windows.x Subject: Use XCloseDisplay() for portability Message-ID: <3958@ci-dandelion.CI.COM> Date: Mon, 19-Oct-87 09:32:09 EDT Article-I.D.: ci-dande.3958 Posted: Mon Oct 19 09:32:09 1987 Date-Received: Tue, 20-Oct-87 06:49:49 EDT Organization: Cognition, Inc., Billerica, Ma. Lines: 13 Keywords: XCloseDisplay exit 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