Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: mouse@lightning.mcrcim.mcgill.EDU (der Mouse) Newsgroups: comp.windows.x Subject: Re: ColorMaps..... Message-ID: <9104040637.AA25561@lightning.McRCIM.McGill.EDU> Date: 4 Apr 91 06:37:55 GMT Article-I.D.: lightnin.9104040637.AA25561 Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 29 > Having created a colormap with read/write color cells in a > PseudoColor visual class, I find that it is necessary to call both > SetWindowColormap and InstallColormap. Then your window manager is broken. > (This is on SGI with X release 4). What window manager are you using? Whatever it is, it's not dealing with window colormaps in the correct ICCCM way, if the SetWindowColormap isn't sufficient. If you've set the window's colormap, a compliant window manager will do the install for you when its colormap focus policy calls for that window to be displayed in its true colors. > I was under the impression that a SetWindowColormap is adequate in > Rel.4 and the client does not need to install (or uninstall) > colormaps. It is supposed to be so. If your window manager is not ICCCM-compliant, you may have to resort to non-ICCCM kludges (like calling XInstallColormap yourself) to get around the problem. Ideally, of course, you should fix the window manager, or switch to another one that *is* compliant. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu