Path: utzoo!attcan!uunet!ginosko!ctrsol!cica!iuvax!rutgers!apple!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: ChangeWindowAttributes (server) question Message-ID: <8907141156.AA11942@expire.lcs.mit.edu> Date: 14 Jul 89 11:56:37 GMT References: <891@jupiter.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 13 When ChangeWindowAttributes is directed to change the background pixel for a window, does the server attempt to free this pixel value from the color map, or to decrement the appropriate color cell's ref count? No. When xsetroot -solid is invoked repeatedly with different colors, the old color cells are indeed freed if appropriate, but that's because xsetroot itself takes these special pains. Right, because it's creating resources that need to survive the lifetime of of the client.