Define callbacks, then default bindings.

This commit is contained in:
okan
2016-11-14 21:25:59 +00:00
parent 64e133b289
commit ed22d7a944
3 changed files with 82 additions and 80 deletions

View File

@@ -170,7 +170,7 @@ main : FONTNAME STRING {
free($2);
}
| BIND STRING string {
if (!conf_bind_kbd(conf, $2, $3)) {
if (!conf_bind_key(conf, $2, $3)) {
yyerror("invalid bind: %s %s", $2, $3);
free($2);
free($3);