Path: utzoo!attcan!uunet!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: XAllocColor() doesn't return closest color Message-ID: <9010021321.AA22835@expire.lcs.mit.edu> Date: 2 Oct 90 13:21:34 GMT References: <7924@scolex.sco.COM> Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 13 shouldn't XAllocColor() return the closest read-only color value available? It only does this for Static visuals, not dynamic ones. We could have long arguments about why this semantics and not the other. The truth is that both semantics should have been provided, rather than trying to choose one. Note that O'Reilly claims XAllocColor() should work this way, while the Red Book sort of side steps the issue. Is the O'Reilly book just wrong? Yes, although it is an understandable mistake.