aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/sticky.c
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-05-25 09:26:23 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-06-01 23:14:58 +1000
commitaaba7642b3e4e9a63aea49412b10221f399b17af (patch)
tree7e7c2f6fcd80a6a48e07e07e03c5f2dc0d248240 /sway/commands/sticky.c
parent34f35f0badc767d9b0cbaf2fd429af1d30592d08 (diff)
Replace is_floating boolean with function
Diffstat (limited to 'sway/commands/sticky.c')
-rw-r--r--sway/commands/sticky.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/sticky.c b/sway/commands/sticky.c
index 4bb4bd39..732ccb98 100644
--- a/sway/commands/sticky.c
+++ b/sway/commands/sticky.c
@@ -17,7 +17,7 @@ struct cmd_results *cmd_sticky(int argc, char **argv) {
}
struct sway_container *container =
config->handler_context.current_container;
- if (!container->is_floating) {
+ if (!container_is_floating(container)) {
return cmd_results_new(CMD_FAILURE, "sticky",
"Can't set sticky on a tiled container");
}