🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #24207

Window colormaps on Apollos

#24207
From: BUCKHOLTZ_G%RMC.CA
Date: Fri, 28 Jun 1991 14:22
19 lines
1504 bytes
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
Technical Details
Message-ID: <910628.09342369.004113@RMC.CP6>
Path: arc1-ca.pugleaf.net!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

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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