diff options
author | okan <okan> | 2013-04-17 13:30:38 +0000 |
---|---|---|
committer | okan <okan> | 2013-04-17 13:30:38 +0000 |
commit | a899d267fe78dbbb923c8626528973f8e6b65bae (patch) | |
tree | c9c175c57a3b85240576fcdb08e3e00bc6c9d75e /group.c | |
parent | 16ed8bf8e4f561049b732b326f3d0ee475fe13f6 (diff) | |
download | cwm-a899d267fe78dbbb923c8626528973f8e6b65bae.tar.gz cwm-a899d267fe78dbbb923c8626528973f8e6b65bae.tar.xz cwm-a899d267fe78dbbb923c8626528973f8e6b65bae.zip |
add conf_ignore and move group_make_autogroup to conf_autogroup to match.
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/group.c b/group.c index cda8d0a..336400c 100644 --- a/group.c +++ b/group.c @@ -163,27 +163,6 @@ group_init(struct screen_ctx *sc) group_setactive(sc, 1); } -void -group_make_autogroup(struct conf *conf, char *val, int no) -{ - struct autogroupwin *aw; - char *p; - - aw = xcalloc(1, sizeof(*aw)); - - if ((p = strchr(val, ',')) == NULL) { - aw->name = NULL; - aw->class = xstrdup(val); - } else { - *(p++) = '\0'; - aw->name = xstrdup(val); - aw->class = xstrdup(p); - } - aw->num = no; - - TAILQ_INSERT_TAIL(&conf->autogroupq, aw, entry); -} - static void group_setactive(struct screen_ctx *sc, long idx) { |