From 1147660d2084b3f323c9552fee3c89f578d2cb79 Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 5 Oct 2016 13:10:59 +0000 Subject: Stash wmname into conf. --- xutil.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xutil.c') 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 @@ -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 -- cgit v1.2.3-2-gb3c3