aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authorokan2013-04-17 13:30:38 +0000
committerokan2013-04-17 13:30:38 +0000
commit579afe49d863e8a91655b6ab8a2c42a380c7129e (patch)
treefb1767b36282112932e3abc5a86d285f2b1fd45b /parse.y
parent75a771a90565abdcd59899872c239ad6c81ba800 (diff)
downloadcwm-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.y11
1 files changed, 3 insertions, 8 deletions
diff --git a/parse.y b/parse.y
index d93d080..8dc1dd0 100644
--- a/parse.y
+++ b/parse.y
@@ -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 {