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 536272e869ea5472a319a7368009f3b4f4051095
Author: Simon Steinbeiss <simon.steinbe...@elfenbeinturm.at>
Date:   Fri Jan 10 23:40:35 2020 +0100

    plugins: Fix enter/leave opacity w/o compositing (Bug #14577)
    
    Before this patch the enter and leave opacity values were applied to
    external panel plugins and the systray even with compositing disabled,
    rendering them as black boxes.
---
 panel/panel-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel/panel-window.c b/panel/panel-window.c
index 3643974..3a4764b 100644
--- a/panel/panel-window.c
+++ b/panel/panel-window.c
@@ -3236,7 +3236,7 @@ panel_window_set_povider_info (PanelWindow *window,
           /* unset the background (PROVIDER_PROP_TYPE_ACTION_BACKGROUND_UNSET) 
*/
           panel_plugin_external_set_background_color (PANEL_PLUGIN_EXTERNAL 
(provider), NULL);
         }
-      if (base_window->leave_opacity != 1.0)
+      if (base_window->leave_opacity != 1.0 && base_window->is_composited)
         {
           panel_plugin_external_set_opacity (PANEL_PLUGIN_EXTERNAL (provider),
               base_window->leave_opacity);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to