aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 3befee13..83a9e7e9 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -427,7 +427,7 @@ static struct cmd_results *cmd_border(int argc, char **argv) {
427static struct cmd_results *parse_border_color(struct border_colors *border_colors, const char *cmd_name, int argc, char **argv) { 427static struct cmd_results *parse_border_color(struct border_colors *border_colors, const char *cmd_name, int argc, char **argv) {
428 struct cmd_results *error = NULL; 428 struct cmd_results *error = NULL;
429 if (argc != 5) { 429 if (argc != 5) {
430 return cmd_results_new(CMD_INVALID, cmd_name, "Requires exact 5 color values"); 430 return cmd_results_new(CMD_INVALID, cmd_name, "Requires exactly five color values");
431 } 431 }
432 432
433 uint32_t colors[5]; 433 uint32_t colors[5];
@@ -476,7 +476,7 @@ static struct cmd_results *cmd_client_background(int argc, char **argv) {
476 uint32_t background; 476 uint32_t background;
477 477
478 if (argc != 1) { 478 if (argc != 1) {
479 return cmd_results_new(CMD_INVALID, "client.background", "Expect exact 1 value"); 479 return cmd_results_new(CMD_INVALID, "client.background", "Requires exactly one color value");
480 } 480 }
481 481
482 error = add_color("client.background", buffer, argv[0]); 482 error = add_color("client.background", buffer, argv[0]);
@@ -737,7 +737,7 @@ static struct cmd_results *cmd_floating_minimum_size(int argc, char **argv) {
737 737
738 } 738 }
739 739
740 sway_log(L_DEBUG, "New floating_minimum_size: '%d' x '%d'", config->floating_minimum_width, 740 sway_log(L_DEBUG, "New floating_minimum_size: '%d' x '%d'", config->floating_minimum_width,
741 config->floating_minimum_height); 741 config->floating_minimum_height);
742 742
743 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 743 return cmd_results_new(CMD_SUCCESS, NULL, NULL);