clarify kbd vs mouse functions
This commit is contained in:
4
parse.y
4
parse.y
@@ -155,7 +155,7 @@ main : FONTNAME STRING {
|
||||
free($2);
|
||||
}
|
||||
| BIND STRING string {
|
||||
conf_bindname(conf, $2, $3);
|
||||
conf_bind_kbd(conf, $2, $3);
|
||||
free($2);
|
||||
free($3);
|
||||
}
|
||||
@@ -171,7 +171,7 @@ main : FONTNAME STRING {
|
||||
conf->gap.right = $5;
|
||||
}
|
||||
| MOUSEBIND STRING string {
|
||||
if (!conf_mousebind(conf, $2, $3)) {
|
||||
if (!conf_bind_mouse(conf, $2, $3)) {
|
||||
yyerror("invalid mousebind: %s %s", $2, $3);
|
||||
free($2);
|
||||
free($3);
|
||||
|
||||
Reference in New Issue
Block a user