diff --git a/sway/desktop/output.c b/sway/desktop/output.c index e6ed9be0d..be424cde2 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -504,9 +504,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->base)) { - return false; - } + wlr_output_attach_buffer(wlr_output, &surface->buffer->base); return wlr_output_commit(wlr_output); }