summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-08-18 17:04:48 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-08-18 17:04:48 +0300
commitcb0a565d2b2cf8823abbd77b4426cc2237731dc1 (patch)
treec71f2288f18afb15ed54dfe5e748bf75655c8b6f /os
parent7da51447eaab34292e14077fb5a48e6b2e587781 (diff)
dix: add whiteroot flag
Add a -wr option to use a white root window, and use a BackPixel rather than BackPixmap for both white and black root windows.
Diffstat (limited to 'os')
-rw-r--r--os/utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/os/utils.c b/os/utils.c
index 6bf862497..31ae26a18 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -642,6 +642,7 @@ void UseMsg(void)
ErrorF("v video blanking for screen-saver\n");
ErrorF("-v screen-saver without video blanking\n");
ErrorF("-wm WhenMapped default backing-store\n");
+ ErrorF("-wr create root window with white background\n");
ErrorF("-x string loads named extension at init time \n");
ErrorF("-maxbigreqsize set maximal bigrequest size \n");
#ifdef PANORAMIX
@@ -983,6 +984,8 @@ ProcessCommandLine(int argc, char *argv[])
defaultScreenSaverBlanking = DontPreferBlanking;
else if ( strcmp( argv[i], "-wm") == 0)
defaultBackingStore = WhenMapped;
+ else if ( strcmp( argv[i], "-wr") == 0)
+ whiteRoot = TRUE;
else if ( strcmp( argv[i], "-maxbigreqsize") == 0) {
if(++i < argc) {
long reqSizeArg = atol(argv[i]);