aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorokan2013-04-10 19:08:09 +0000
committerokan2013-04-10 19:08:09 +0000
commit631370ead818f5ea4e4cc808f77da7bb909e7b0e (patch)
treefd264019247934ecc7ea249e1e4ae3f3c3ad6f06
parent913eaa50191e6610c22eed5d6a7360c9b66ea221 (diff)
downloadcwm-631370ead818f5ea4e4cc808f77da7bb909e7b0e.tar.gz
_NET_WM_NAME is UTF8_STRING type
-rw-r--r--xutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xutil.c b/xutil.c
index 954b397..4117adb 100644
--- a/xutil.c
+++ b/xutil.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $OpenBSD: xutil.c,v 1.52 2013/01/01 14:19:56 okan Exp $
+ * $OpenBSD: xutil.c,v 1.53 2013/04/10 19:08:09 okan Exp $
*/
#include <sys/param.h>
@@ -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));
}