diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-01-21 09:09:53 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-01-21 09:09:53 -0500 |
commit | 0e3eae4baa7717321ec87cf2c46f6798e89e3ded (patch) | |
tree | d6624a2fa66f344d9db09e43af0fb293f2ab2d3a /sway/commands | |
parent | run all commands with focused container context (diff) | |
download | sway-0e3eae4baa7717321ec87cf2c46f6798e89e3ded.tar.gz sway-0e3eae4baa7717321ec87cf2c46f6798e89e3ded.tar.zst sway-0e3eae4baa7717321ec87cf2c46f6798e89e3ded.zip |
view interface
Diffstat (limited to 'sway/commands')
-rw-r--r-- | sway/commands/kill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/kill.c b/sway/commands/kill.c index a04c21f3..62a3a514 100644 --- a/sway/commands/kill.c +++ b/sway/commands/kill.c | |||
@@ -15,8 +15,8 @@ struct cmd_results *cmd_kill(int argc, char **argv) { | |||
15 | struct sway_view *view = | 15 | struct sway_view *view = |
16 | config->handler_context.current_container->sway_view; | 16 | config->handler_context.current_container->sway_view; |
17 | 17 | ||
18 | if (view && view->iface.close) { | 18 | if (view) { |
19 | view->iface.close(view); | 19 | view_close(view); |
20 | } | 20 | } |
21 | 21 | ||
22 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); | 22 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); |