From a899d267fe78dbbb923c8626528973f8e6b65bae Mon Sep 17 00:00:00 2001 From: okan Date: Wed, 17 Apr 2013 13:30:38 +0000 Subject: add conf_ignore and move group_make_autogroup to conf_autogroup to match. --- parse.y | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'parse.y') diff --git a/parse.y b/parse.y index 8173fe0..2708948 100644 --- a/parse.y +++ b/parse.y @@ -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 { -- cgit 1.4.1