Path: utzoo!attcan!uunet!cs.utexas.edu!samsung!noose.ecn.purdue.edu!news From: luj@delta.ecn.purdue.edu (Jun Lu) Newsgroups: comp.windows.x Subject: Can XAllocColor/XAllocNamedColor fail ? Message-ID: <1990Nov8.174617.10793@ecn.purdue.edu> Date: 8 Nov 90 17:46:17 GMT Sender: news@ecn.purdue.edu (USENET news) Distribution: na Organization: Purdue University School of Aeronautics and Astronautics Lines: 13 I have a feeling that XAllocColor can never fail under normal conditions( valid cmap argument, normal operations of server, normal connections ) becasuse XAllocColor request finds the *closest* color entry in the color map if it is full. Am I right ? Thanks, -- -- Jun Lu Internet:luj@ecn.purdue.edu -- -- Aeronautics & Astronautics Bitnet: luj%ecn.purdue.edu@purccvm -- -- Purdue University UUCP: pur-ee!luj -- -- W. Lafayette, IN 47907 Phone:317-494-9410 Fax:317-494-0307 --