Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ucbvax!mtxinu!rtech!jupiter!doug From: doug@jupiter.UUCP (Doug Tomm) Newsgroups: comp.windows.x Subject: ChangeWindowAttributes (server) question Keywords: server Message-ID: <891@jupiter.UUCP> Date: 13 Jul 89 18:09:14 GMT Reply-To: doug@jupiter.UUCP (Doug Tomm) Organization: Jupiter Systems Lines: 17 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? My inspection of the server code suggests that this is not the case. 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. TIA for any enlightenment; apologies for my own stupidity. ==================================================================== Doug Tomm doug@jupiter.com jupiter!doug@ucbcad.berkekey.edu #include #include