Updating branch refs/heads/master
         to f7fcb87de1f90210258026592dab472b14e189c1 (commit)
       from 683608318c154098d12ca0d10f4af66dfb35db53 (commit)

commit f7fcb87de1f90210258026592dab472b14e189c1
Author: Alistair Buxton <[email protected]>
Date:   Wed Nov 27 19:55:12 2013 +0000

    Ignore when root atoms are unset.
    
    If the background root atom is unset, ignore it. The XRender picture
    we have should still be valid.

 src/compositor.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compositor.c b/src/compositor.c
index 8a503b5..62196bf 100644
--- a/src/compositor.c
+++ b/src/compositor.c
@@ -2450,7 +2450,7 @@ compositorHandlePropertyNotify (DisplayInfo 
*display_info, XPropertyEvent *ev)
 
     for (p = 0; p < 2; p++)
     {
-        if (ev->atom == backgroundProps[p])
+        if (ev->atom == backgroundProps[p] && ev->state == PropertyNewValue)
         {
             ScreenInfo *screen_info = myDisplayGetScreenFromRoot 
(display_info, ev->window);
             if ((screen_info) && (screen_info->rootTile))
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to