From: "Rodolfo García Peñas (kix)" <k...@kix.es>

The tileObserver() function doesn't need change the icon image,
because the icon image doesn't change with tile changes.
---
 src/icon.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/icon.c b/src/icon.c
index 620a1db..1cf3888 100644
--- a/src/icon.c
+++ b/src/icon.c
@@ -91,7 +91,8 @@ static void tileObserver(void *self, WMNotification *notif)
 {
        WIcon *icon = (WIcon *) self;
 
-       wIconUpdate(icon, NULL);
+       /* Repaint the icon, use the same image */
+       update_icon_pixmap(icon);
 
        XClearArea(dpy, icon->core->window, 0, 0, 1, 1, True);
 }
-- 
1.7.10.4


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to