summary refs log tree commit diff
path: root/xutil.c
diff options
context:
space:
mode:
authorokan <okan>2016-10-05 13:10:59 +0000
committerokan <okan>2016-10-05 13:10:59 +0000
commitd40820d3f34f2787fa6397216112281b1eead3b7 (patch)
tree421d7fbe7b5f23b6d38ebca8910f41f9e07eefb2 /xutil.c
parenta37606c63ff059a458023ddef1bd6e8926497f18 (diff)
downloadcwm-d40820d3f34f2787fa6397216112281b1eead3b7.tar.gz
cwm-d40820d3f34f2787fa6397216112281b1eead3b7.tar.xz
cwm-d40820d3f34f2787fa6397216112281b1eead3b7.zip
Stash wmname into conf.
Diffstat (limited to 'xutil.c')
-rw-r--r--xutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xutil.c b/xutil.c
index 5cb3637..1b6faf0 100644
--- a/xutil.c
+++ b/xutil.c
@@ -115,8 +115,8 @@ xu_ewmh_net_supported_wm_check(struct screen_ctx *sc)
 	XChangeProperty(X_Dpy, w, ewmh[_NET_SUPPORTING_WM_CHECK],
 	    XA_WINDOW, 32, PropModeReplace, (unsigned char *)&w, 1);
 	XChangeProperty(X_Dpy, w, ewmh[_NET_WM_NAME],
-	    cwmh[UTF8_STRING], 8, PropModeReplace, (unsigned char *)WMNAME,
-	    strlen(WMNAME));
+	    cwmh[UTF8_STRING], 8, PropModeReplace,
+	    (unsigned char *)Conf.wmname, strlen(Conf.wmname));
 }
 
 void