aboutsummaryrefslogtreecommitdiffstats
path: root/xutil.c
diff options
context:
space:
mode:
authorokan2016-10-05 13:10:59 +0000
committerokan2016-10-05 13:10:59 +0000
commit1147660d2084b3f323c9552fee3c89f578d2cb79 (patch)
tree03e8c724521ddeaa530fd8a47fdc1013e5c5f553 /xutil.c
parent1c882c3ced97399292656739896fdbb19f1a15f5 (diff)
downloadcwm-1147660d2084b3f323c9552fee3c89f578d2cb79.tar.gz
Stash wmname into conf.
Diffstat (limited to 'xutil.c')
-rw-r--r--xutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xutil.c b/xutil.c
index f1d66d6..31436f9 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.107 2016/10/04 15:18:20 okan Exp $
+ * $OpenBSD: xutil.c,v 1.108 2016/10/05 13:10:59 okan Exp $
*/
#include <sys/types.h>
@@ -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