mirror of
https://github.com/swaywm/sway.git
synced 2024-12-02 03:16:47 +00:00
Set child border to background if not specified
This commit is contained in:
parent
86f81e0364
commit
27c725eced
|
@ -25,6 +25,10 @@ static struct cmd_results *parse_border_color(struct border_colors *border_color
|
|||
*colors[i] = strtoul(buffer + 1, NULL, 16);
|
||||
}
|
||||
|
||||
if (argc < 5) {
|
||||
border_colors->child_border = border_colors->background;
|
||||
}
|
||||
|
||||
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue