Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!decwrl!pa.dec.com!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: HELP with DECstation 5000/200 24bit color & XAllocColorCells Message-ID: <1991Apr9.122755@wsl.dec.com> Date: 9 Apr 91 19:27:55 GMT References: <1991Apr9.174106.2727@henson.cc.wwu.edu> Sender: news@pa.dec.com (News) Reply-To: klee@wsl.dec.com Organization: DEC Western Software Laboratory Lines: 13 In article <1991Apr9.174106.2727@henson.cc.wwu.edu>, knight@henson.cc.wwu.edu (Matt J. Scott) writes: |> Does XAllocColorCells only try the default visual? XAllocColorCells() requires a colormap argument. Colormaps must be created for particular visuals. A robust client should make sure that its windows, colormaps, and graphics context fields all use the same visuals. -- Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee