aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop')
-rw-r--r--sway/desktop/output.c2
-rw-r--r--sway/desktop/render.c2
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);
}