[Xfce4-commits] [panel-plugins/xfce4-time-out-plugin] 09/15: Fix fadeout background color

noreply at xfce.org noreply at xfce.org
Fri Oct 4 05:13:44 CEST 2019


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

a   n   d   r   e       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 panel-plugins/xfce4-time-out-plugin.

commit 9f747677e84cb8901c54beb5685b87b9831b85f2
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sat Sep 28 18:18:42 2019 -0300

    Fix fadeout background color
---
 panel-plugin/time-out-fadeout.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/panel-plugin/time-out-fadeout.c b/panel-plugin/time-out-fadeout.c
index 7d36e3f..d1c9a2c 100644
--- a/panel-plugin/time-out-fadeout.c
+++ b/panel-plugin/time-out-fadeout.c
@@ -36,7 +36,7 @@
 #include "time-out-fadeout.h"
 
 
-#define COLOR "#b6c4d7"
+#define COLOR 0xb6c4d7
 
 
 
@@ -100,7 +100,7 @@ time_out_fadeout_new_window (GdkDisplay *display,
   attr.override_redirect = TRUE;
   mask |= CWOverrideRedirect;
 
-  attr.background_pixel = BlackPixel (xdisplay, gdk_x11_screen_get_screen_number (screen));
+  attr.background_pixel = COLOR;
   mask |= CWBackPixel;
 
   xwindow = XCreateWindow (xdisplay, gdk_x11_window_get_xid (root),
@@ -135,7 +135,7 @@ time_out_fadeout_new_window (GdkDisplay *display,
       g_object_unref (root_pixbuf);
 
       /* draw black transparent layer */
-      cairo_set_source_rgba (cr, 0, 0, 0, 0.5);
+      cairo_set_source_rgba (cr, 182, 196, 215, 0.5);
       cairo_paint (cr);
       cairo_destroy (cr);
       cairo_surface_destroy (surface);

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


More information about the Xfce4-commits mailing list