]> git.pld-linux.org Git - packages/fontforge.git/blob - 024_def_background.diff
e8333d386767a790dd968b9c23ef27bf035d15e8
[packages/fontforge.git] / 024_def_background.diff
1 Sets the default gray background color.
2
3 This patch by Theppitak Karoonboonyanan <thep@linux.thai.net>.
4 This patch will not be submitted upstream.
5
6 --- a/gdraw/gxdraw.c
7 +++ b/gdraw/gxdraw.c
8 @@ -5003,7 +5003,7 @@
9      GXResourceInit(gdisp,programname);
10  
11      gdisp->bs.double_time = GResourceFindInt( "DoubleClickTime", gdisp->bs.double_time );
12 -    gdisp->def_background = GResourceFindColor( "Background", COLOR_CREATE(0xf5,0xff,0xfa));
13 +    gdisp->def_background = GResourceFindColor( "Background", COLOR_CREATE(0xf5,0xf5,0xf5));
14      gdisp->def_foreground = GResourceFindColor( "Foreground", COLOR_CREATE(0x00,0x00,0x00));
15      if ( GResourceFindBool("Synchronize", false ))
16         XSynchronize(gdisp->display,true);
This page took 0.04953 seconds and 2 git commands to generate.