call tree_render() only after commands which require it

Saves one call of tree_render for exec, for example
This commit is contained in:
Michael Stapelberg
2011-05-29 12:29:49 +02:00
parent 446c9b7313
commit 8acea3d34c
3 changed files with 32 additions and 2 deletions

View File

@ -106,7 +106,6 @@ static int handle_key_press(xcb_key_press_event_t *event) {
}
parse_cmd(bind->command);
tree_render();
return 1;
}