Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!ginosko!uakari.primate.wisc.edu!ames!elan!tom
From: tom@elan.elan.com (Tom Smith)
Newsgroups: comp.windows.x
Subject: Re: Problem with GXxor Function???
Message-ID: <639@elan.elan.com>
Date: 25 Sep 89 23:50:14 GMT
References: <521@wizard.UUCP>
Organization: Elan Computer Group, Inc., Mountain View, CA
Lines: 21

From article <521@wizard.UUCP>, by steve@wizard.UUCP (Steve Mansour):
[ Sample program using GXxor function that sometimes works removed ]
> What am I forgetting????

You are forgetting that the server released from MIT is considered
a "sample" X11 server, and that it is supposedly meant to be an
illustration of how vendors could go about writing their own.  It
was apparently not intended to be product-quality itself, because
it has quite a few bugs in it -- particularly the R2 version.  This
means that if your favorite vendor merely ported the MIT X11R2
distribution without QA'ing it themselves, they ported the bugs too.

One of those bugs is that the xor function (and many of the inverting
functions as well) have the foreground and background colors reversed.
On a server that doesn't show the xor'd box, try setting the foreground
color to white.

  Hope this helps,
    Thomas Smith
    Elan Computer Group, Inc.
    tom@elan.com, {ames, uunet, hplabs}!elan!tom