diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-03-31 21:05:58 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-03-31 21:05:58 -0400 |
commit | b5d49cc4e86b5da5a3479c2d2a763be50184f75d (patch) | |
tree | a5cb1f98b80454e79bd521c4421b9cbe89ce8862 | |
parent | add docstrings and todos (diff) | |
download | sway-b5d49cc4e86b5da5a3479c2d2a763be50184f75d.tar.gz sway-b5d49cc4e86b5da5a3479c2d2a763be50184f75d.tar.zst sway-b5d49cc4e86b5da5a3479c2d2a763be50184f75d.zip |
remove default from kill switch
-rw-r--r-- | sway/commands/kill.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/commands/kill.c b/sway/commands/kill.c index e6036cb3..46d6e98e 100644 --- a/sway/commands/kill.c +++ b/sway/commands/kill.c | |||
@@ -14,6 +14,7 @@ struct cmd_results *cmd_kill(int argc, char **argv) { | |||
14 | case C_ROOT: | 14 | case C_ROOT: |
15 | case C_OUTPUT: | 15 | case C_OUTPUT: |
16 | case C_WORKSPACE: | 16 | case C_WORKSPACE: |
17 | case C_TYPES: | ||
17 | return cmd_results_new(CMD_INVALID, NULL, | 18 | return cmd_results_new(CMD_INVALID, NULL, |
18 | "Can only kill views and containers with this command"); | 19 | "Can only kill views and containers with this command"); |
19 | break; | 20 | break; |
@@ -24,8 +25,6 @@ struct cmd_results *cmd_kill(int argc, char **argv) { | |||
24 | case C_VIEW: | 25 | case C_VIEW: |
25 | view_close(con->sway_view); | 26 | view_close(con->sway_view); |
26 | break; | 27 | break; |
27 | default: | ||
28 | break; | ||
29 | } | 28 | } |
30 | 29 | ||
31 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); | 30 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); |