Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!usc!snorkelwacker!bloom-beacon!LARRY.MCRCIM.MCGILL.EDU!mouse From: mouse@LARRY.MCRCIM.MCGILL.EDU (der Mouse) Newsgroups: comp.windows.x Subject: Re: Changing default colormap Message-ID: <9007140635.AA04100@Larry.McRCIM.McGill.EDU> Date: 14 Jul 90 06:35:37 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 15 > I'm trying to change from the default colormap in X to > XA_RGB_BEST_MAP with no success. I'm following code I found in O. > Jones book in the color section. I have pinpointed the problem to > the function XGetStandardColormap() which always returns a 0 > (failure). The most probable cause, in my estimation, is that nobody has created an RGB_BEST_MAP on the root in question. If you think someone has, you might check with xprop and see. (If this is not what's wrong, I haven't a clue.) der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu