fix: update the wm name length

This commit is contained in:
Anas Elgarhy 2023-09-02 12:25:25 +03:00
parent 46705d8d43
commit dd8295212a
No known key found for this signature in database
GPG Key ID: 0501802A1D496528
1 changed files with 1 additions and 1 deletions

View File

@ -1599,7 +1599,7 @@ setup(void) {
XChangeProperty(dpy, wmcheckwin, netatom[NetWMCheck], XA_WINDOW, 32,
PropModeReplace, (unsigned char *) &wmcheckwin, 1);
XChangeProperty(dpy, wmcheckwin, netatom[NetWMName], utf8string, 8,
PropModeReplace, (unsigned char *) "archy-dwm", 3);
PropModeReplace, (unsigned char *) "archy-dwm", 9);
XChangeProperty(dpy, root, netatom[NetWMCheck], XA_WINDOW, 32,
PropModeReplace, (unsigned char *) &wmcheckwin, 1);
/* EWMH support per view */