Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!columbia!rutgers!ames!ucbcad!ucbvax!ATHENA.MIT.EDU!swick From: swick@ATHENA.MIT.EDU (Ralph R. Swick) Newsgroups: comp.windows.x Subject: Re: Getting rid of windows Message-ID: <8703161429.AA07376@ORPHEUS> Date: Mon, 16-Mar-87 09:29:37 EST Article-I.D.: ORPHEUS.8703161429.AA07376 Posted: Mon Mar 16 09:29:37 1987 Date-Received: Tue, 17-Mar-87 02:10:48 EST References: <1276@sphinx.UChicago.UUCP> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The ARPA Internet Lines: 12 Mistakes of this nature are common to programmers unfamiliar with server-client designs, thus I am sending my reply to the entire list. If your XUnmapWindow() is followed immediately by the sleep() (or variant), then the request is never actually getting out to the server. You need to use XSync() to make sure all requests and replies are processed before sleeping. It will be possible in the next Xlib to disable the buffering of requests so as to ease debugging of applications. This effect will probably still catch the unwary, however. -Ralph