diff --git a/sway/desktop/output.c b/sway/desktop/output.c index d525b2b4..8b84da86 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -531,7 +531,7 @@ static bool scan_out_fullscreen_view(struct sway_output *output, return false; } - wlr_presentation_surface_scanned_out_on_output(server.presentation, surface, + wlr_presentation_surface_scanned_out_on_output(surface, wlr_output); return wlr_output_commit_state(wlr_output, pending); diff --git a/sway/desktop/render.c b/sway/desktop/render.c index 9cfdea84..c9a306cf 100644 --- a/sway/desktop/render.c +++ b/sway/desktop/render.c @@ -151,7 +151,7 @@ static void render_surface_iterator(struct sway_output *output, render_texture(data->ctx, texture, &src_box, &dst_box, &clip_box, surface->current.transform, alpha); - wlr_presentation_surface_textured_on_output(server.presentation, surface, + wlr_presentation_surface_textured_on_output(surface, wlr_output); }