[Xfce4-commits] [xfce/xfwm4] 01/05: Fix opacity being reset on theme change

noreply at xfce.org noreply at xfce.org
Tue Jan 6 22:08:33 CET 2015


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

olivier pushed a commit to branch master
in repository xfce/xfwm4.

commit 3e092b5be3ebdf3bd34000e17aea1627e0cac4eb
Author: Olivier Fourdan <fourdan at xfce.org>
Date:   Tue Jan 6 20:41:21 2015 +0100

    Fix opacity being reset on theme change
    
    Bug: 9888
    
    Resync opacity and applied opacity on client message, so that
    opacity remains after rebuilding the entire screen (e.g. on gtk+
    theme changes).
    
    Signed-off-by: Olivier Fourdan <fourdan at xfce.org>
---
 src/events.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/events.c b/src/events.c
index 7b6da47..643ce96 100644
--- a/src/events.c
+++ b/src/events.c
@@ -1885,7 +1885,7 @@ handlePropertyNotify (DisplayInfo *display_info, XPropertyEvent * ev)
             {
                 c->opacity =  NET_WM_OPAQUE;
             }
-            compositorWindowSetOpacity (display_info, c->frame, c->opacity);
+            clientSetOpacity (c, c->opacity, 0, 0);
         }
         else if (ev->atom == display_info->atoms[NET_WM_WINDOW_OPACITY_LOCKED])
         {

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


More information about the Xfce4-commits mailing list