ok I found the issue, xterm does not accept a space in the window manager's name...
Carlos, not sure if you want to merge that patch with the previous commit as it's just 1 line difference.
xterm is not working properly (it's not advertising its internal icon)
if the window manager's name contains a space, seems to be specific
to xterm as xeyes and xpaint are working fine.
---
src/wmspec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wmspec.c b/src/wmspec.c
index fe313410..1fa01aa7 100644
--- a/src/wmspec.c
+++ b/src/wmspec.c
@@ -364,7 +364,7 @@ static void setSupportedHints(WScreen *scr)
32, PropModeReplace, (unsigned char *)&scr->info_window, 1);
/* set _NET_WM_NAME on supporting window */
-
snprintf(wm_name, sizeof(wm_name), "Window Maker %s", VERSION);
+
snprintf(wm_name, sizeof(wm_name), "WindowMaker %s", VERSION);
XChangeProperty(dpy, scr->info_window, net_wm_name, utf8_string, 8,
PropModeReplace, (unsigned char *)wm_name, strlen(wm_name));
--
2.43.0