diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 21:01:33 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-02 21:01:33 -0400 |
commit | 2c165e1288cbb60f5e677595e35f58a9c56c7010 (patch) | |
tree | 8dc7105631a62ce2635bb18cf26abea5d02e7837 /sway/commands | |
parent | 32ef182f474dbb40c4bedb69256ca6ec8bd31039 (diff) |
fix more close segfaults
Diffstat (limited to 'sway/commands')
-rw-r--r-- | sway/commands/kill.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sway/commands/kill.c b/sway/commands/kill.c index 46d6e98e..811c3e6b 100644 --- a/sway/commands/kill.c +++ b/sway/commands/kill.c @@ -19,11 +19,8 @@ struct cmd_results *cmd_kill(int argc, char **argv) { "Can only kill views and containers with this command"); break; case C_CONTAINER: - con = container_destroy(con); - arrange_windows(con, -1, -1); - break; case C_VIEW: - view_close(con->sway_view); + container_close(con); break; } |