aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/default_border.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/default_border.c')
-rw-r--r--sway/commands/default_border.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/default_border.c b/sway/commands/default_border.c
index 2e356d3d..5c0fee3f 100644
--- a/sway/commands/default_border.c
+++ b/sway/commands/default_border.c
@@ -16,12 +16,12 @@ struct cmd_results *cmd_default_border(int argc, char **argv) {
16 } else if (strcmp(argv[0], "pixel") == 0) { 16 } else if (strcmp(argv[0], "pixel") == 0) {
17 config->border = B_PIXEL; 17 config->border = B_PIXEL;
18 } else { 18 } else {
19 return cmd_results_new(CMD_INVALID, "default_border", 19 return cmd_results_new(CMD_INVALID,
20 "Expected 'default_border <none|normal|pixel>' or 'default_border <normal|pixel> <px>'"); 20 "Expected 'default_border <none|normal|pixel>' or 'default_border <normal|pixel> <px>'");
21 } 21 }
22 if (argc == 2) { 22 if (argc == 2) {
23 config->border_thickness = atoi(argv[1]); 23 config->border_thickness = atoi(argv[1]);
24 } 24 }
25 25
26 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 26 return cmd_results_new(CMD_SUCCESS, NULL);
27} 27}