diff options
Diffstat (limited to 'sway/commands.c')
-rw-r--r-- | sway/commands.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/commands.c b/sway/commands.c index 3cc84062..c1009f85 100644 --- a/sway/commands.c +++ b/sway/commands.c | |||
@@ -758,7 +758,7 @@ static struct cmd_results *cmd_mode(int argc, char **argv) { | |||
758 | break; | 758 | break; |
759 | } | 759 | } |
760 | } | 760 | } |
761 | // Create mode if it doesnt exist | 761 | // Create mode if it doesn't exist |
762 | if (!mode && mode_make) { | 762 | if (!mode && mode_make) { |
763 | mode = malloc(sizeof*mode); | 763 | mode = malloc(sizeof*mode); |
764 | mode->name = strdup(mode_name); | 764 | mode->name = strdup(mode_name); |
@@ -1917,7 +1917,7 @@ static struct cmd_results *_do_split(int argc, char **argv, int layout) { | |||
1917 | } | 1917 | } |
1918 | swayc_t *focused = get_focused_container(&root_container); | 1918 | swayc_t *focused = get_focused_container(&root_container); |
1919 | 1919 | ||
1920 | // Case of floating window, dont split | 1920 | // Case of floating window, don't split |
1921 | if (focused->is_floating) { | 1921 | if (focused->is_floating) { |
1922 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); | 1922 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); |
1923 | } | 1923 | } |
@@ -2164,7 +2164,7 @@ static struct cmd_results *cmd_workspace(int argc, char **argv) { | |||
2164 | sway_log(L_DEBUG, "Assigning workspace %s to output %s", argv[0], argv[2]); | 2164 | sway_log(L_DEBUG, "Assigning workspace %s to output %s", argv[0], argv[2]); |
2165 | list_add(config->workspace_outputs, wso); | 2165 | list_add(config->workspace_outputs, wso); |
2166 | if (!config->reading) { | 2166 | if (!config->reading) { |
2167 | // TODO: Move workspace to output. (dont do so when reloading) | 2167 | // TODO: Move workspace to output. (don't do so when reloading) |
2168 | } | 2168 | } |
2169 | } | 2169 | } |
2170 | } | 2170 | } |