[gnome-flashback] desktop: update representative color when it changes



commit 4a6d436e5b811f1295a6a583831b7c8d47fb39f4
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Mar 20 17:48:06 2021 +0200

    desktop: update representative color when it changes

 gnome-flashback/libdesktop/gf-desktop-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnome-flashback/libdesktop/gf-desktop-window.c b/gnome-flashback/libdesktop/gf-desktop-window.c
index ed6dd34..540cef8 100644
--- a/gnome-flashback/libdesktop/gf-desktop-window.c
+++ b/gnome-flashback/libdesktop/gf-desktop-window.c
@@ -257,7 +257,7 @@ filter_func (GdkXEvent *xevent,
           ensure_surface (self);
         }
     }
-  else if (x->xproperty.atom != color_atom)
+  else if (x->xproperty.atom == color_atom)
     {
       update_representative_color (self);
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]