[PATCH 4/7] Avoid recreate Cached icon moving between docks

Rodolfo García Peñas (kix) <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
This patch avoids to create again the icon in the Cache if the icon
was in other Dock/Clip/Drawer, becasue the icon was previously created
and exits.

Signed-off-by: Rodolfo García Peñas (kix) <[email protected]>
---
 src/dock.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/dock.c b/src/dock.c
index fce3f5b..e27b28a 100644
--- a/src/dock.c
+++ b/src/dock.c
@@ -2344,7 +2344,6 @@ Bool wDockMoveIconBetweenDocks(WDock *src, WDock *dest, WAppIcon *icon, int x, i
 			icon->icon->shadowed = 0;
 			update_icon = True;
 		}
-		save_appicon(icon);
 	}
 
 	if (src->auto_collapse || src->auto_raise_lower)
-- 
2.5.0


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.