aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-05-03 08:14:17 -0400
committerDrew DeVault <sir@cmpwn.com>2018-05-03 08:14:17 -0400
commit58a033d8163c922eff8577b34523418c2c2ab432 (patch)
treee3ca897c922da50ec0fd68ed097acf1b7153f61f /sway/commands
parent8f06aa7598ee79613617096ac3de8d402bdf1737 (diff)
downloadsway-58a033d8163c922eff8577b34523418c2c2ab432.tar.xz
Convert border_colors.text to float[4]
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");
}