and i got this problem :
when i move my cursor into the PHIGS Window my monitor screen becomes red
can someone help me?
My best guess is that the PHIGS window has its own colormap associated
with the window and your display adapter has only one hardware
colormap. When you move the pointer into the PHIGS window, the
PHIGS window gets colormap focus, which causes the X server to
copy the contents of the PHIGS colormap into the hardware colormap
in order to make the colors look right for the PHIGS window, at the
expense of all the other clients on the screen. When you move the
pointer out of the PHIGS window, colormap focus is on some other
window and the window manager then copies (installs) the default
colormap into the hardware colormap.
This is perfectly normal behavior for low-end graphic devices and is
sometimes called "technicolor" or "colormap flashing", etc....
Higher-end devices have multiple hardware colormaps and so can use
colormaps for more than one window at the same time.
The only way I can think of to help you is to try to convince the
PHIGS library to use a smaller color ramp that fits in the default
colormap. Try the following:
- reduce the number of colors used by the other clients that are running,
either by stopping some clients or by selecting the colors each uses
so that fewer total colors are in demand on the screen. Get rid of
xv running your aquarium background, don't use fancy colors in your clock
and xterms, etc....
- run xstdcmap to create a property on your root window called RGB_DEFAULT_MAP.
This property describes a color ramp contained in the default colormap that
the PHIGS library may find and use. If it does, then the PHIGS lib will
use the same colormap as the other clients and there will be no flashing.
I don't know enough about the linux X server to know if all this will
work, but it may be worth a try...