From: "Rodolfo García Peñas (kix)" <[email protected]>
The window image includes now the image provided by wm_hints
if the client don't provides the wm_net_icon image.
This is because get_window_image has the image provided by
the previous get_window_image_from_x11() but, if is NULL,
the image provided by get_wwindow_image_from_wm_hints()
This is the change:
- /* Save the icon in the X11 icon */
- wwin->net_icon_image = get_window_image_from_x11(wwin->client_win);
+ /* Save the client image as window image */
+ wwin->net_icon_image = get_window_image(wwin);
---
src/wmspec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/wmspec.c b/src/wmspec.c
index 3ad4f6e..d80e24f 100644
--- a/src/wmspec.c
+++ b/src/wmspec.c
@@ -494,8 +494,8 @@ static void updateIconImage(WWindow *wwin)
if (wwin->net_icon_image)
RReleaseImage(wwin->net_icon_image);
- /* Save the icon in the X11 icon */
- wwin->net_icon_image = get_window_image_from_x11(wwin->client_win);
+ /* Save the client image as window image */
+ wwin->net_icon_image = get_window_image(wwin);
/* Refresh the Window Icon */
if (wwin->icon)
--
1.7.10.4
--
To unsubscribe, send mail to [email protected].