Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!bloom-beacon!SAM.CS.CMU.EDU!Francois.Bitz From: Francois.Bitz@SAM.CS.CMU.EDU Newsgroups: comp.windows.x Subject: XInstallColormap question Message-ID: <9007211923.AA10640@ATHENA.MIT.EDU> Date: 21 Jul 90 19:22:34 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 22 I am having trouble figuring out the correct behavior of XInstallColormap in that I thought that when a new colormap is installed (i.e when I move into an application window) ONLY the color entries for pixels (in the harware colormap) that have been allocated by the application sould be modified. This is on an 8 bits PseudoColor display. Instead it seems that ALL pixels entries (256 entries) are modified; which I think is pretty odd. I have a lot of windows with different colormaps and each windows utilizes 224 cells for displaying images while the remaining cells are globally defined. Does this mean that I should allocate and fill the color entries for the cells I am not using when I create a new colormap? Thanks for any help on this.