diff options
author | Bill Li <billli11hkb@gmail.com> | 2023-12-28 03:33:53 +0800 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2023-12-27 20:57:35 +0100 |
commit | 64d644f0da15e4aef85ca1800b90aa65e333933c (patch) | |
tree | e7e89ccd304a31feeae0c523a1e3170513f84369 | |
parent | 22d0dd8bde62592ff34d354e059cdc6e09879cb4 (diff) |
Chase wlroots!4482
-rw-r--r-- | sway/desktop/output.c | 2 | ||||
-rw-r--r-- | 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); } |