1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

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.
This commit is contained in:
Rodolfo García Peñas (kix)
2012-11-17 18:49:50 +01:00
committed by Carlos R. Mafra
parent 522d84b0ef
commit 4b4c5513ce

View File

@@ -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);
}