diff options
author | Ryan Dwyer <[email protected]> | 2018-05-25 09:26:23 +1000 |
---|---|---|
committer | Ryan Dwyer <[email protected]> | 2018-06-01 23:14:58 +1000 |
commit | aaba7642b3e4e9a63aea49412b10221f399b17af (patch) | |
tree | 7e7c2f6fcd80a6a48e07e07e03c5f2dc0d248240 /sway/desktop/output.c | |
parent | 34f35f0badc767d9b0cbaf2fd429af1d30592d08 (diff) |
Replace is_floating boolean with function
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r-- | sway/desktop/output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index e91be4d4..4e5d106f 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -1147,7 +1147,7 @@ void output_damage_whole_container(struct sway_output *output, .width = con->width, .height = con->height, }; - if (con->is_floating) { + if (container_is_floating(con)) { box.x -= output->wlr_output->lx; box.y -= output->wlr_output->ly; } |