Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: mouse@lightning.mcrcim.mcgill.EDU Newsgroups: comp.windows.x Subject: Re: resource ID allocation Message-ID: <9102160655.AA26142@lightning.McRCIM.McGill.EDU> Date: 16 Feb 91 06:55:26 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 22 > What happens to a window if its parent is destroyed? It too is destroyed. > More precisely, is the window ID freed, or does it turn into > something akin to a zombie process under Unix (but one that hangs > around forever)? The protocol document simply says that "[t]he window and all inferiors are [...] destroyed". As far as I can see, nowhere does it explicitly say that destroying a window frees the ID of that window for reuse, though it seems to me that it's rather too obvious to need saying. > destroying orphaned windows (after the process that created them > exits or its rootwindow is destroyed, of course) Root windows can't be destroyed. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu