mirror of
https://github.com/swaywm/sway.git
synced 2025-11-24 06:59:51 -05:00
Stop using wlr_output->{lx,ly}
Also fixes sway_output->{lx,ly,width,height} not being updated. Also fixes
output_get_in_direction adding buffer coords to layout coords.
This commit is contained in:
parent
bcde298a71
commit
076257a978
8 changed files with 61 additions and 53 deletions
|
|
@ -37,7 +37,7 @@ static void handle_render(struct sway_seat *seat,
|
|||
struct wlr_box box;
|
||||
memcpy(&box, &e->drop_box, sizeof(struct wlr_box));
|
||||
scale_box(&box, output->wlr_output->scale);
|
||||
render_rect(output->wlr_output, damage, &box, color);
|
||||
render_rect(output, damage, &box, color);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue