>From 39d8039a9a975745b8e8121a11c929a291015c42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20(kix)"?= <[email protected]>
Date: Sat, 17 Nov 2012 18:49:50 +0100
Subject: [PATCH 2/6] 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 10f7b24..ddcf167 100644
--- a/src/icon.c
+++ b/src/icon.c
@@ -642,7 +642,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);
}
--
1.7.10.4
>From 39d8039a9a975745b8e8121a11c929a291015c42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?"Rodolfo=20Garc=C3=ADa=20Pe=C3=B1as=20(kix)"?= <[email protected]>
Date: Sat, 17 Nov 2012 18:49:50 +0100
Subject: [PATCH 2/6] 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 10f7b24..ddcf167 100644
--- a/src/icon.c
+++ b/src/icon.c
@@ -642,7 +642,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);
}
--
1.7.10.4