Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!alberta!brazeau.ucs.ualberta.ca!unixg.ubc.ca!ubc-cs!uw-beaver!mit-eddie!bloom-beacon!dont-send-mail-to-path-lines From: BUCKHOLTZ_G%RMC.CA@mitvma.mit.EDU Newsgroups: comp.windows.x Subject: Window colormaps on Apollos Message-ID: <910628.09342369.004113@RMC.CP6> Date: 28 Jun 91 14:22:43 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 19 Hi! I have been trying to get colourmaps to work on our Apollos for a little while now but with marginal success. I was under the impression that in X if a window became in focus that the colourmap for that window would be used for the screen. I am writing an image processing package and I have made a gray scale colourmap and set the colourmap resource of my root widget (Motif) to my colourmap. I retrieve the colourmap resource from one of its childeren and the my colourmap was successfully inherited. However my colormap is not installed when one of my windows become in focus. If I attach my colourmap to the Root Window any windows that are realized after I have set my colourmap inherit my colormap and it is installed when these windows become in focus. I didn't think that there should be any difference if my colourmap was inherited from the root window or from my root widget. I would appreciate any suggestions! bye, Glenn