🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #25125

Re: Getting rid of windows

#25125
From: Ralph R. Swick
Date: Mon, 16 Mar 1987 14:29
12 lines
1155 bytes
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
Technical Details
Message-ID: <8703161429.AA07376@ORPHEUS>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!ames!ucbcad!ucbvax!ATHENA.MIT.EDU!swick
References: <1276@sphinx.UChicago.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!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