[Xfce4-commits] <xfwm4:ochosi/tabwin> Ignore when root atoms are unset.

Alistair Buxton noreply at xfce.org
Wed Dec 11 23:25:01 CET 2013


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

commit f7fcb87de1f90210258026592dab472b14e189c1
Author: Alistair Buxton <a.j.buxton at gmail.com>
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))


More information about the Xfce4-commits mailing list