mirror of
https://github.com/swaywm/sway.git
synced 2025-11-17 06:59:48 -05:00
Replace is_floating boolean with function
This commit is contained in:
parent
34f35f0bad
commit
aaba7642b3
12 changed files with 44 additions and 36 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue