sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit b5d49cc4e86b5da5a3479c2d2a763be50184f75d
parent 81556f4b2aad49c21058d9cc9695195a12f0239b
Author: Tony Crisci <tony@dubstepdish.com>
Date:   Sat, 31 Mar 2018 21:05:58 -0400

remove default from kill switch

Diffstat:
Msway/commands/kill.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sway/commands/kill.c b/sway/commands/kill.c @@ -14,6 +14,7 @@ struct cmd_results *cmd_kill(int argc, char **argv) { case C_ROOT: case C_OUTPUT: case C_WORKSPACE: + case C_TYPES: return cmd_results_new(CMD_INVALID, NULL, "Can only kill views and containers with this command"); break; @@ -24,8 +25,6 @@ struct cmd_results *cmd_kill(int argc, char **argv) { case C_VIEW: view_close(con->sway_view); break; - default: - break; } return cmd_results_new(CMD_SUCCESS, NULL, NULL);