diff options
Diffstat (limited to 'sway/commands/client.c')
-rw-r--r-- | sway/commands/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/client.c b/sway/commands/client.c index 0abd0167..d6b7de1a 100644 --- a/sway/commands/client.c +++ b/sway/commands/client.c | |||
@@ -64,7 +64,7 @@ static struct cmd_results *handle_command(int argc, char **argv, | |||
64 | "Unable to parse background color"); | 64 | "Unable to parse background color"); |
65 | } | 65 | } |
66 | 66 | ||
67 | if (!parse_color_int(argv[2], &class->text)) { | 67 | if (!parse_color_float(argv[2], class->text)) { |
68 | return cmd_results_new(CMD_INVALID, cmd_name, | 68 | return cmd_results_new(CMD_INVALID, cmd_name, |
69 | "Unable to parse text color"); | 69 | "Unable to parse text color"); |
70 | } | 70 | } |