On Tue, 12 Feb 2002, Rob Taylor wrote:

>Date: Tue, 12 Feb 2002 11:21:46 -0000
>From: Rob Taylor <[EMAIL PROTECTED]>
>To: pesarif <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>Content-Type: text/plain; charset="iso-8859-1"
>List-Id: General X Discussion <xpert.XFree86.Org>
>Subject: RE: Changing what X looks like on startup
>
>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];

Your patch is backwards.  In order to use this patch, it must be 
applied in reverse with the -R flag to patch.


-- 
----------------------------------------------------------------------
Mike A. Harris                  Shipping/mailing address:
OS Systems Engineer             190 Pittsburgh Ave., Sault Ste. Marie,
XFree86 maintainer              Ontario, Canada, P6C 5B3
Red Hat Inc.                    Phone: (705)949-2136
http://www.redhat.com           ftp://people.redhat.com/mharris
Red Hat XFree86 mailing list:   [EMAIL PROTECTED]
General open IRC discussion:    #xfree86 on irc.openprojects.net
----------------------------------------------------------------------

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

Reply via email to