here's a context patch to make the default background black (i'm workinng on an
embedded device and the flash of moire was just too messy ;)

Rob


--- xc/programs/Xserver/dix/window.c    Mon Jan 28 15:45:50 2002
+++ xc.orig/programs/Xserver/dix/window.c       Wed Jan 17 22:36:44 2001
@@ -114,12 +114,12 @@
  *    HandleSaveSet, ReparentWindow, MapWindow, MapSubWindows,
  *    UnmapWindow, UnmapSubWindows, ConfigureWindow, CirculateWindow,
  *
  ******/

-static unsigned char _back_lsb[4] = {0x00, 0x00, 0x00, 0x00};
-static unsigned char _back_msb[4] = {0x00, 0x00, 0x00, 0x00};
+static unsigned char _back_lsb[4] = {0x88, 0x22, 0x44, 0x11};
+static unsigned char _back_msb[4] = {0x11, 0x44, 0x22, 0x88};

 int screenIsSaved = SCREEN_SAVER_OFF;

 ScreenSaverStuffRec savedScreenInfo[MAXSCREENS];


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
> Of Jim Gettys
> Sent: Wednesday, January 23, 2002 7:16 PM
> To: Thomas Steffen
> Cc: pesarif; [EMAIL PROTECTED]
> Subject: Re: [Xpert]Changing what X looks like on startup
>
>
>
> > Sender: [EMAIL PROTECTED]
> > From: Thomas Steffen <[EMAIL PROTECTED]>
> > Date: 23 Jan 2002 09:35:45 +0100
> > To: pesarif <[EMAIL PROTECTED]>
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [Xpert]Changing what X looks like on startup
> > -----
> > pesarif <[EMAIL PROTECTED]> writes:
> >
> > > I was just wondering, though, why the XFree86 developers chose a
> > > black and white background?
> >
> > Well, back in the old days, a lot of machines had a 1-bit framebuffer.
> > I wouldn't make much sense to use that default background that would
> > fail on these, wouldn't it?
> >
> > Then again pure black or pure white is not that telling. So by logical
> > conclusion, something like 50% grey seems perfect for this purpose.
> >
>
> Perfect gray patterns don't rubber band worth a d***.
>
> So I (or Bob) designed the cross hatch, which does.  I have memories
> of doing this, so I think I'm the person.
>                               - Jim
>
> --
> Jim Gettys
> Cambridge Research Laboratory
> Compaq Computer Corporation
> [EMAIL PROTECTED]
>
> _______________________________________________
> Xpert mailing list
> [EMAIL PROTECTED]
> http://XFree86.Org/mailman/listinfo/xpert
>


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to