mirror of
https://github.com/swaywm/sway.git
synced 2025-11-08 13:29:50 -05:00
Convert border_colors.text to float[4]
This commit is contained in:
parent
8f06aa7598
commit
58a033d816
4 changed files with 10 additions and 9 deletions
|
|
@ -64,7 +64,7 @@ static struct cmd_results *handle_command(int argc, char **argv,
|
|||
"Unable to parse background color");
|
||||
}
|
||||
|
||||
if (!parse_color_int(argv[2], &class->text)) {
|
||||
if (!parse_color_float(argv[2], class->text)) {
|
||||
return cmd_results_new(CMD_INVALID, cmd_name,
|
||||
"Unable to parse text color");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue