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 /parse.y | |
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 'parse.y')
-rw-r--r-- | parse.y | 9 |
1 files changed, 2 insertions, 7 deletions
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 { |