_NET_WM_NAME is UTF8_STRING type

This commit is contained in:
okan 2013-04-10 19:08:09 +00:00
parent 58c1d48d10
commit 90f95416c6

View File

@ -292,7 +292,7 @@ xu_ewmh_net_supported_wm_check(struct screen_ctx *sc)
XChangeProperty(X_Dpy, w, ewmh[_NET_SUPPORTING_WM_CHECK].atom,
XA_WINDOW, 32, PropModeReplace, (unsigned char *)&w, 1);
XChangeProperty(X_Dpy, w, ewmh[_NET_WM_NAME].atom,
XA_WM_NAME, 8, PropModeReplace, (unsigned char *)WMNAME,
cwmh[UTF8_STRING].atom, 8, PropModeReplace, (unsigned char *)WMNAME,
strlen(WMNAME));
}