aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/render.c')
-rw-r--r--sway/desktop/render.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c
index c432b476..960fe083 100644
--- a/sway/desktop/render.c
+++ b/sway/desktop/render.c
@@ -121,7 +121,8 @@ static void render_surface_iterator(struct sway_output *output, struct sway_view
render_texture(wlr_output, output_damage, texture, &box, matrix, alpha);
- wlr_presentation_surface_sampled(server.presentation, surface);
+ wlr_presentation_surface_sampled_on_output(server.presentation, surface,
+ wlr_output);
}
static void render_layer(struct sway_output *output,