aboutsummaryrefslogtreecommitdiffstats
path: root/conf.c
diff options
context:
space:
mode:
authorokan2016-10-05 13:10:59 +0000
committerokan2016-10-05 13:10:59 +0000
commit1147660d2084b3f323c9552fee3c89f578d2cb79 (patch)
tree03e8c724521ddeaa530fd8a47fdc1013e5c5f553 /conf.c
parent1c882c3ced97399292656739896fdbb19f1a15f5 (diff)
downloadcwm-1147660d2084b3f323c9552fee3c89f578d2cb79.tar.gz
Stash wmname into conf.
Diffstat (limited to '')
-rw-r--r--conf.c4
1 files changed, 3 insertions, 1 deletions
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 <sys/types.h>
@@ -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