summary refs log tree commit diff
path: root/parse.y
diff options
context:
space:
mode:
authorokan <okan>2013-04-17 13:30:38 +0000
committerokan <okan>2013-04-17 13:30:38 +0000
commita899d267fe78dbbb923c8626528973f8e6b65bae (patch)
treec9c175c57a3b85240576fcdb08e3e00bc6c9d75e /parse.y
parent16ed8bf8e4f561049b732b326f3d0ee475fe13f6 (diff)
downloadcwm-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.y9
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		{