[comp.windows.x] XView 2.0 colormaps and twm

thor@csd.uwo.ca (Jim Thorsley) (12/08/90)

I've written an application under XView 2.0 which creates a dynamic colormap
for a canvas window. When I run this under olwm it works fine but if I
use twm I don't get my colors. It seems that twm doesn't install the
colourmap. If I use a static colourmap then I get colours but not exactly
the ones I want. If I install the colormap explicitly twm steps in and
reinstalls the default. I also tried calling XSetWMColormapWindows and crashed
twm. Is there a way to tell twm that a subwindow has a different colormap
from the frame? Is there a patch or fix to twm? I would like the application to
work under both twm and olwm since both are in use at this site.

BTW. I'm running on Sun 3s, with SunOs 4.1.

Thanks in advance.