summaryrefslogtreecommitdiff
path: root/src/compositor/compositor-xrender.c
diff options
context:
space:
mode:
authorPerberos <[email protected]>2012-08-12 16:36:34 -0300
committerPerberos <[email protected]>2012-08-12 16:36:34 -0300
commitde92a9f787d80c681a1678c027dfe3dababbc8a3 (patch)
treeeb7d88e2206e986caaf8649f2c40605d94e1cad1 /src/compositor/compositor-xrender.c
parenta32218e8141e13dc83d88ddf5e11afe1dc8fbd4f (diff)
downloadmarco-de92a9f787d80c681a1678c027dfe3dababbc8a3.tar.bz2
marco-de92a9f787d80c681a1678c027dfe3dababbc8a3.tar.xz
Update src/compositor/compositor-xrender.c
manually edit from fix-grey-compositor.patch sent by Leandro Vital to set the default background to black (instead of grey) when compositing.
Diffstat (limited to 'src/compositor/compositor-xrender.c')
-rw-r--r--src/compositor/compositor-xrender.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c
index e0938706..004dfd8b 100644
--- a/src/compositor/compositor-xrender.c
+++ b/src/compositor/compositor-xrender.c
@@ -811,10 +811,10 @@ root_tile (MetaScreen *screen)
{
XRenderColor c;
- /* Background default to just plain ugly grey */
- c.red = 0x8080;
- c.green = 0x8080;
- c.blue = 0x8080;
+ /* Background default to just plain black */
+ c.red = 0x0000;
+ c.green = 0x0000;
+ c.blue = 0x0000;
c.alpha = 0xffff;
XRenderFillRectangle (xdisplay, PictOpSrc, picture, &c, 0, 0, 1, 1);