summary refs log tree commit diff
diff options
context:
space:
mode:
authorokan <okan>2013-04-10 19:08:09 +0000
committerokan <okan>2013-04-10 19:08:09 +0000
commit90f95416c6f4461625dd37d5cc44dd92a067a030 (patch)
treeb4fae2c2096f254b4b5621392327de3dc218fe50
parent58c1d48d10cd7bec3bd186ef2f584b1ad1974f5b (diff)
downloadcwm-90f95416c6f4461625dd37d5cc44dd92a067a030.tar.gz
cwm-90f95416c6f4461625dd37d5cc44dd92a067a030.tar.xz
cwm-90f95416c6f4461625dd37d5cc44dd92a067a030.zip
_NET_WM_NAME is UTF8_STRING type
-rw-r--r--xutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xutil.c b/xutil.c
index 32a9974..3605e71 100644
--- a/xutil.c
+++ b/xutil.c
@@ -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));
 }