From: Michael Stapelberg Date: Wed, 30 Jun 2010 13:27:18 +0000 (+0200) Subject: parser: call tree_close_con() instead of tree_close() when run interactively X-Git-Tag: tree-pr1~174 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ea30fdc327add691d7172594642b76e336d9f8e3;p=i3%2Fi3 parser: call tree_close_con() instead of tree_close() when run interactively --- diff --git a/src/cmdparse.y b/src/cmdparse.y index f694e1ff..8190403f 100644 --- a/src/cmdparse.y +++ b/src/cmdparse.y @@ -348,7 +348,7 @@ kill: printf("killing!\n"); /* check if the match is empty, not if the result is empty */ if (match_is_empty(¤t_match)) - tree_close(focused, true); + tree_close_con(); else { TAILQ_FOREACH(current, &owindows, owindows) { printf("matching: %p / %s\n", current->con, current->con->name);