From 64d644f0da15e4aef85ca1800b90aa65e333933c Mon Sep 17 00:00:00 2001 From: Bill Li Date: Thu, 28 Dec 2023 03:33:53 +0800 Subject: Chase wlroots!4482 --- sway/desktop/output.c | 2 +- sway/desktop/render.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } -- cgit v1.2.3