[comp.windows.x] HELP with DECstation 5000/200 24bit color & XAllocColorCellsDOWN

rivero@dev8a.mdcbbs.com (04/11/91)

In article <9104100234.AA16796@zia.aoc.nrao.edu>, cflatter@zia.aoc.nrao.EDU (Chris Flatters) writes:
> Matt Scott writes:
>> So to try and track down the problem I did some digging and testing
>> and discovered that the 24-bit machines do support a DirectColor visual
>> (read/writeable), however, it is NOT the default visual!  Does
>> XAllocColorCells only try the default visual?
> 
> XAllocColorCells will only try the colormap you specify as its second
> argument.  If you want to use a non-default visual you must create a
> private colormap using XCreateColormap with a pointer to the visual
> you want to use. 
> 
>> How can we change the default visual from a read only to the
>> read/write visual?
> 
> Some X servers will allow you to change the default visual at start-up.
> I don't know if DEC's is one of them: check the man page.
> 
Dec 5000's allow  you to change the default visual on startup. 

Michael