mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 07:56:31 +01:00
Use output coords for layer surfaces
This will need to be more carefully thought out when we get the output_layout working entirely.
This commit is contained in:
parent
d6acb3d86c
commit
00d450e554
1 changed files with 1 additions and 2 deletions
|
@ -187,8 +187,7 @@ static void render_layer(struct sway_output *output,
|
|||
wl_list_for_each(sway_layer, layer, link) {
|
||||
struct wlr_layer_surface *layer = sway_layer->layer_surface;
|
||||
render_surface(layer->surface, output->wlr_output, when,
|
||||
sway_layer->geo.x + output_layout_box->x,
|
||||
sway_layer->geo.y + output_layout_box->y, 0);
|
||||
sway_layer->geo.x, sway_layer->geo.y, 0);
|
||||
wlr_surface_send_frame_done(layer->surface, when);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue