Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!bu.edu!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: cflatter@zia.aoc.nrao.EDU (Chris Flatters) Newsgroups: comp.windows.x Subject: Re: HELP with DECstation 5000/200 24bit color & XAllocColorCells Message-ID: <9104100234.AA16796@zia.aoc.nrao.edu> Date: 10 Apr 91 02:34:30 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 18 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. Chris Flatters