diff options
author | okan | 2013-04-17 13:30:38 +0000 |
---|---|---|
committer | okan | 2013-04-17 13:30:38 +0000 |
commit | 579afe49d863e8a91655b6ab8a2c42a380c7129e (patch) | |
tree | fb1767b36282112932e3abc5a86d285f2b1fd45b /parse.y | |
parent | 75a771a90565abdcd59899872c239ad6c81ba800 (diff) | |
download | cwm-579afe49d863e8a91655b6ab8a2c42a380c7129e.tar.gz |
add conf_ignore and move group_make_autogroup to conf_autogroup to match.
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.39 2013/01/04 16:27:58 okan Exp $ */ +/* $OpenBSD: parse.y,v 1.40 2013/04/17 13:30:38 okan Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -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 { |