summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-08-18 17:30:00 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-08-18 17:30:00 +0300
commita1ac0440bba690368aa4226468ce571be1a09d95 (patch)
treec2ce79f05c94cc0543cf486ba30ee535074a40e6
parent19f673b7788d32c220e7e06734f1074b0e4a999c (diff)
dix: fix whiteroot thinko
Note to self: run git update-index _after_ testing, not just before.
-rw-r--r--dix/window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dix/window.c b/dix/window.c
index c16f51418..0beeb3a4d 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -519,9 +519,9 @@ InitRootWindow(WindowPtr pWin)
}
else {
if (blackRoot)
- pWin->background.pixel = blackPixel;
+ pWin->background.pixel = pScreen->blackPixel;
else
- pWin->background.pixel = whitePixel;
+ pWin->background.pixel = pScreen->whitePixel;
backFlag |= CWBackPixel;
}