For those of you who hate the ugly default X background, the black
and white crossweave net thing, here's a simple little patch that
fixes it and makes it solid black:

-----cut-----
--- xc/programs/Xserver/dix/window.c.die-ugly-pattern-die-die-die       Tue Feb 12 
16:33:04 2002
+++ xc/programs/Xserver/dix/window.c    Tue Feb 12 16:45:32 2002
@@ -119,8 +119,8 @@
  *
  ******/
 
-static unsigned char _back_lsb[4] = {0x88, 0x22, 0x44, 0x11};
-static unsigned char _back_msb[4] = {0x11, 0x44, 0x22, 0x88};
+static unsigned char _back_lsb[4] = {0x00, 0x00, 0x00, 0x00};
+static unsigned char _back_msb[4] = {0x00, 0x00, 0x00, 0x00};
 
 int screenIsSaved = SCREEN_SAVER_OFF;
-----cut-----

It isn't my patch (see ftp://people.redhat.com/mharris/patches/),
but it still works. You can only use this if you build your own
XFree86, I'm afraid. To use it: 

1) Save the patch to a file, say, die-ugly-pattern-die-die-die.patch. 
2) Change to the top level directory that contains your X source 
   (the directory that contains the xc directory). 
3) Execute:

   $ patch -p0 < die-ugly-pattern-die-die-die
   $ cd xc
   $ make
   $ su 
   # make install

After modifying the X source tree in which you've already done a
"make World," you only need to say "make" in order to incorporate
the changed files. If you haven't built X already, you'll need to
say "make World".

Kurt
-- 
Main's Law:
        For every action there is an equal and opposite government
program.
_______________________________________________
Linux-users mailing list
[EMAIL PROTECTED]
Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users

Reply via email to