summaryrefslogtreecommitdiff
path: root/app/cwm/xutil.c
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2013-04-10 19:08:10 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2013-04-10 19:08:10 +0000
commit5d03b72f58d0600c563657d5e826289bf638db95 (patch)
tree4c0840c572040737c10714f8fe010459f8a0039a /app/cwm/xutil.c
parent795c44c35acd814aa57c624c146e2e02c3a7fb42 (diff)
_NET_WM_NAME is UTF8_STRING type
Diffstat (limited to 'app/cwm/xutil.c')
-rw-r--r--app/cwm/xutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/cwm/xutil.c b/app/cwm/xutil.c
index 954b397d0..4117adbb1 100644
--- a/app/cwm/xutil.c
+++ b/app/cwm/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));
}