[Xfce4-commits] [xfce/xfce4-panel] 01/01: Fix windows in workspace switcher being transparent

noreply at xfce.org noreply at xfce.org
Wed Mar 8 23:25:14 CET 2017


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

ochosi pushed a commit to branch master
in repository xfce/xfce4-panel.

commit 7c0678ab1b42f0b57e98b18e00931a40b40dda17
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Wed Mar 8 23:24:08 2017 +0100

    Fix windows in workspace switcher being transparent
---
 plugins/pager/pager.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/plugins/pager/pager.c b/plugins/pager/pager.c
index a64748c..41956be 100644
--- a/plugins/pager/pager.c
+++ b/plugins/pager/pager.c
@@ -295,9 +295,10 @@ pager_plugin_style_updated (GtkWidget *pager,
                          &bg_color, NULL);
   color_string = gdk_rgba_to_string(bg_color);
   // FIXME: The shade value only works well visually for bright themes/panels
-  css_string = g_strdup_printf ("wnck-pager:selected { background: shade(%s, 0.7); }"
+  css_string = g_strdup_printf ("wnck-pager { background: %s; }"
+                                "wnck-pager:selected { background: shade(%s, 0.7); }"
                                 "wnck-pager:hover { background: shade(%s, 0.9); }",
-                                color_string, color_string);
+                                color_string, color_string, color_string);
   context = gtk_widget_get_style_context (pager);
   gtk_css_provider_load_from_data (provider, css_string, -1, NULL);
   gtk_style_context_add_provider (context,

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


More information about the Xfce4-commits mailing list