summary refs log tree commit diff
path: root/conf.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 /conf.c
parenta37606c63ff059a458023ddef1bd6e8926497f18 (diff)
downloadcwm-d40820d3f34f2787fa6397216112281b1eead3b7.tar.gz
cwm-d40820d3f34f2787fa6397216112281b1eead3b7.tar.xz
cwm-d40820d3f34f2787fa6397216112281b1eead3b7.zip
Stash wmname into conf.
Diffstat (limited to 'conf.c')
-rw-r--r--conf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/conf.c b/conf.c
index 974388c..9cf196a 100644
--- a/conf.c
+++ b/conf.c
@@ -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