parser: call tree_close_con() instead of tree_close() when run interactively

This commit is contained in:
Michael Stapelberg 2010-06-30 15:27:18 +02:00
parent 317d2bbe2b
commit ea30fdc327
1 changed files with 1 additions and 1 deletions

View File

@ -348,7 +348,7 @@ kill:
printf("killing!\n"); printf("killing!\n");
/* check if the match is empty, not if the result is empty */ /* check if the match is empty, not if the result is empty */
if (match_is_empty(&current_match)) if (match_is_empty(&current_match))
tree_close(focused, true); tree_close_con();
else { else {
TAILQ_FOREACH(current, &owindows, owindows) { TAILQ_FOREACH(current, &owindows, owindows) {
printf("matching: %p / %s\n", current->con, current->con->name); printf("matching: %p / %s\n", current->con, current->con->name);