1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 04:48:06 +01:00

Avoid recreate Cached icon moving between docks

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) <kix@kix.es>
This commit is contained in:
Rodolfo García Peñas (kix)
2015-08-23 20:56:56 +02:00
committed by Carlos R. Mafra
parent b2c5078987
commit e11800652e

View File

@@ -2344,7 +2344,6 @@ Bool wDockMoveIconBetweenDocks(WDock *src, WDock *dest, WAppIcon *icon, int x, i
icon->icon->shadowed = 0; icon->icon->shadowed = 0;
update_icon = True; update_icon = True;
} }
save_appicon(icon);
} }
if (src->auto_collapse || src->auto_raise_lower) if (src->auto_collapse || src->auto_raise_lower)