Switch ignoreq to winname struct since it's basically the same thing;

removes limit on name matching.
This commit is contained in:
okan
2014-01-30 22:17:22 +00:00
parent 7928c1ad7c
commit cc1902f57c
3 changed files with 17 additions and 33 deletions

View File

@@ -156,12 +156,7 @@ main : FONTNAME STRING {
free($3);
}
| IGNORE STRING {
if (!conf_ignore(conf, $2)) {
yyerror("ignore windowname too long");
free($2);
YYERROR;
}
free($2);
conf_ignore(conf, $2);
}
| BIND STRING string {
if (!conf_bind_kbd(conf, $2, $3)) {