From: Rodolfo García Peñas (kix) Date: Sat, 17 Nov 2012 17:49:50 +0000 (+0100) Subject: update_icon_pixmap don't paint dock icon X-Git-Tag: wmaker-0.95.4~24 X-Git-Url: https://repo.or.cz/w/wmaker-crm.git/commitdiff_plain/4b4c5513ce744562d716e3d883410a2773e342e1 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. --- 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); }