aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2017-04-29 10:07:18 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2017-04-29 10:07:18 -0400
commit816ceddcbdd6c98648784e85559b495b63613b7b (patch)
treed0d84786e64132f13f4668e3197565304d71555a
parentMerge pull request #1201 from SirCmpwn/fix-colors (diff)
downloadsway-816ceddcbdd6c98648784e85559b495b63613b7b.tar.gz
sway-816ceddcbdd6c98648784e85559b495b63613b7b.tar.zst
sway-816ceddcbdd6c98648784e85559b495b63613b7b.zip
Set child border to background if not specified
-rw-r--r--sway/commands/client.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/commands/client.c b/sway/commands/client.c
index 30f9137e..f3d879cd 100644
--- a/sway/commands/client.c
+++ b/sway/commands/client.c
@@ -25,6 +25,10 @@ static struct cmd_results *parse_border_color(struct border_colors *border_color
25 *colors[i] = strtoul(buffer + 1, NULL, 16); 25 *colors[i] = strtoul(buffer + 1, NULL, 16);
26 } 26 }
27 27
28 if (argc < 5) {
29 border_colors->child_border = border_colors->background;
30 }
31
28 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 32 return cmd_results_new(CMD_SUCCESS, NULL, NULL);
29} 33}
30 34