From: "Rodolfo García Peñas (kix)" <[email protected]>
This patch get the wm_hint icon form the icon inspected, and use
the same icon for the app_icon and the window icon.
---
src/winspector.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/winspector.c b/src/winspector.c
index 4e31dd3..90ae2c9 100644
--- a/src/winspector.c
+++ b/src/winspector.c
@@ -759,11 +759,11 @@ static void applySettings(WMButton *button,
InspectorPanel *panel)
} else {
/* Change App Icon image */
if (wapp->app_icon)
- wIconUpdate(wapp->app_icon->icon,
get_rimage_icon_from_wm_hints(wapp->app_icon->icon->owner));
+ wIconUpdate(wapp->app_icon->icon,
get_rimage_icon_from_wm_hints(wwin));
/* Change icon image if the app is minimized */
if (wwin->icon)
- wIconUpdate(wwin->icon,
get_rimage_icon_from_wm_hints(wwin->icon->owner));
+ wIconUpdate(wwin->icon,
get_rimage_icon_from_wm_hints(wwin));
}
if (file)
--
1.7.10.4
--
To unsubscribe, send mail to [email protected].