From 631370ead818f5ea4e4cc808f77da7bb909e7b0e Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 10 Apr 2013 19:08:09 +0000 Subject: _NET_WM_NAME is UTF8_STRING type --- xutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xutil.c') 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 @@ -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)); } -- cgit v1.2.3-2-gb3c3