]> git.sur5r.net Git - i3/i3/commitdiff
parser: call tree_close_con() instead of tree_close() when run interactively
authorMichael Stapelberg <michael@stapelberg.de>
Wed, 30 Jun 2010 13:27:18 +0000 (15:27 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 30 Jun 2010 13:27:18 +0000 (15:27 +0200)
src/cmdparse.y

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