1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-03-19 09:13:33 +01:00

wmaker: fix _NET_WM_NAME window manager's name

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.
This commit is contained in:
David Maciejak
2026-01-26 15:13:42 -05:00
committed by Carlos R. Mafra
parent 7778df2fc5
commit 6e14b6142b

View File

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