[comp.windows.x] 8 bit colormap on a 24 bit machine

devin@samwise.Colorado.EDU (Yampalimardilor) (08/28/90)

	I'm getting an 8 bit PseudoColor visual on a 24 bit machine.
This works no problem.  However, I then allocate a colormap, and then
try to place the foreground, background, whitepixel, blackpixel, etc
colors into my private colormap so that the other windows don't disappear.
But the background pixel value is huge - bigger than 256, for sure.
What should I do?

I'm trying to run on a VAXstation 3520 running Ultrix 4.0 (DECwindows)
which is based (still!) on X11R3...

	Thanks
	-Devin

***********************************************************************
* Yampalimardilor          *     a.k.a Devin Hooker (RP90) DoD # 0034 *
* Mage School, Glantri     *           University of Colorado-Boulder *
* (Master of Movement)     *           (Undergrad Student)            *
***********************************************************************