aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands')
-rw-r--r--sway/commands/client.c2
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,
"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");
}