[Xfce4-commits] [xfce/xfwm4] 02/03: compositor: Set default background color to black

noreply at xfce.org noreply at xfce.org
Wed Jun 5 22:01:32 CEST 2019


This is an automated email from the git hooks/post-receive script.

o   l   i   v   i   e   r       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfwm4.

commit 8117ca782e6ab26f295121058b642d52393a3213
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Wed Jun 5 21:56:59 2019 +0200

    compositor: Set default background color to black
    
    The grey color was useful mainly for debugging the compositor and drop
    shadows, but it looks just plain ugly at startup.
    
    Change it to black, so it is not as noticeable on startup, before
    xfdesktop takes over the background.
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/compositor.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/compositor.c b/src/compositor.c
index 8b2d3e8..e7f9287 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -908,10 +908,10 @@ root_tile (ScreenInfo *screen_info)
     {
         XRenderColor c;
 
-        /* Background default to just plain ugly grey */
-        c.red   = 0x7f00;
-        c.green = 0x7f00;
-        c.blue  = 0x7f00;
+        /* Background default to just plain black */
+        c.red   = 0x0000;
+        c.green = 0x0000;
+        c.blue  = 0x0000;
         c.alpha = 0xffff;
         picture = XRenderCreateSolidFill (dpy, &c);
     }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list