From 4b4c5513ce744562d716e3d883410a2773e342e1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20=28kix=29?= Date: Sat, 17 Nov 2012 18:49:50 +0100 Subject: [PATCH] update_icon_pixmap don't paint dock icon The dock applications has their icon image set in icon->file_image to draw the icon if the application is not running. But if the application is running, the icon mustn't be show. This patch don't paint the icon for docks. --- src/icon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/icon.c b/src/icon.c index e3367930..0edf53cb 100644 --- a/src/icon.c +++ b/src/icon.c @@ -640,7 +640,7 @@ void update_icon_pixmap(WIcon *icon) /* If dockapp, put inside the icon */ if (icon->icon_win != None) { /* file_image is NULL, because is docked app */ - icon_update_pixmap(icon, icon->file_image); + icon_update_pixmap(icon, NULL); set_dockapp_in_icon(icon); } -- 2.11.4.GIT