[comp.windows.x] Need help with colormap

bowang@cs.wvu.wvnet.edu (Bo Wang) (03/11/91)

Hello everyone:

	I have a problem with colormap that I need some
help. I want to have my own colormap instead of using 
the default one. Is there any way that I can stop the
window manager switching colormaps when the pointer
moves out my application window which causes a unwanted
color flashing. I am using AUX on MacII and the only
visual supported is "Psudocolor" class. The window manager
is twm.

	Thanks in advance for any help.
		Bo Wang.

	bowang@a.cs.wvu.wvnet.edu

mouse@lightning.mcrcim.mcgill.EDU (der Mouse) (03/11/91)

> I want to have my own colormap instead of using the default one.  Is
> there any way that I can stop the window manager switching colormaps
> when the pointer moves out my application window which causes a
> unwanted color flashing.

(Is that a question or a statement?)

This is entirely up to the window manager.  If your colormap is getting
installed at any point, you clearly have things set up correctly.  Just
when the colormap is installed is a question for your window manager's
colormap focus policy.

> The window manager is twm.

I don't know how configurable twm's colormap focus policy is.  All I
can say is that that's definitely the right place to look.

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu