aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r--sway/desktop/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index b78e0819..ec3d6424 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -501,7 +501,7 @@ static bool scan_out_fullscreen_view(struct sway_output *output,
wlr_presentation_surface_sampled_on_output(server.presentation, surface,
wlr_output);
- if (!wlr_output_attach_buffer(wlr_output, surface->buffer)) {
+ if (!wlr_output_attach_buffer(wlr_output, &surface->buffer->base)) {
return false;
}
return wlr_output_commit(wlr_output);