add conf_ignore and move group_make_autogroup to conf_autogroup to match.

This commit is contained in:
okan
2013-04-17 13:30:38 +00:00
parent 16ed8bf8e4
commit a899d267fe
4 changed files with 37 additions and 29 deletions

View File

@@ -137,16 +137,11 @@ main : FONTNAME STRING {
YYERROR;
}
group_make_autogroup(conf, $3, $2);
conf_autogroup(conf, $2, $3);
free($3);
}
| IGNORE STRING {
struct winmatch *wm;
wm = xcalloc(1, sizeof(*wm));
(void)strlcpy(wm->title, $2, sizeof(wm->title));
TAILQ_INSERT_TAIL(&conf->ignoreq, wm, entry);
conf_ignore(conf, $2);
free($2);
}
| BIND STRING string {