Article View: comp.windows.x
Article #23980Re: white and black colors in the X server
From: Chris Sherman
Date: Sat, 22 Jun 1991 02:23
Date: Sat, 22 Jun 1991 02:23
22 lines
1664 bytes
1664 bytes
In <"31-May-91.12:33:33.EDT".*.Nagesh_Pabbisetty.Henr801C@Xerox.com> Pabbisetty.HENR801c@xerox.COM writes:
>The fact that whitePixel is 0 and blackPixel is 1 has been built into the code
>at several places in the implementation on the X11R4 server. This makes it
>difficult to port the server to architectures where the values of white and
>black are reversed.
How about HP servers which sometimes forget that the black pixel shouldn't be
touched. Sometimes xloadimage and others will cause the X server to
allocate some other color to black, and everything that was black on my
screen turns to some other color permanently.
Also, Does anyone have any code that sets black back to black, and permanently
allocates it so that some other program won't take it back again?
Thanx,
--
Chris Sherman .................... sherman@unx.sas.com |
,-----------------------------------------'
/ Q: How many IBM CPU's does it take to execute a job?
| A: Four; three to hold it down, and one to rip its head off.
Technical Details
Message-ID:
<sherman.677557401@foster>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!samsung!caen!uflorida!mlb.semi.harris.com!rtpark.rtp.semi.harris.com!mcnc!rti!mozart!shermanReferences:
<"31-May-91.12:33:33.EDT".*.Nagesh_Pabbisetty.Henr801C@Xerox.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!samsung!caen!uflorida!mlb.semi.harris.com!rtpark.rtp.semi.harris.com!mcnc!rti!mozart!sherman From: sherman@unx.sas.com (Chris Sherman) Newsgroups: comp.windows.x Subject: Re: white and black colors in the X server Message-ID: <sherman.677557401@foster> Date: 22 Jun 91 02:23:21 GMT References: <"31-May-91.12:33:33.EDT".*.Nagesh_Pabbisetty.Henr801C@Xerox.com> Sender: news@unx.sas.com (Noter of Newsworthy Events) Distribution: sas Organization: SAS Institute Inc. Lines: 22 Nntp-Posting-Host: foster.unx.sas.com