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. --- conf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index 6b523fb..55ac921 100644 --- a/conf.c +++ b/conf.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: conf.c,v 1.212 2016/10/04 15:52:32 okan Exp $ + * $OpenBSD: conf.c,v 1.213 2016/10/05 13:10:59 okan Exp $ */ #include @@ -283,6 +283,7 @@ conf_init(struct conf *c) homedir, ".ssh/known_hosts"); c->font = xstrdup("sans-serif:pixelsize=14:bold"); + c->wmname = xstrdup("CWM"); } void @@ -327,6 +328,7 @@ conf_clear(struct conf *c) free(c->color[i]); free(c->font); + free(c->wmname); } void -- cgit v1.2.3-2-gb3c3