mirror of
https://github.com/swaywm/sway.git
synced 2024-11-23 00:11:28 +00:00
Stop checking wlr_output_attach_buffer return value
Update for [1]. Everything is now checked at commit-time. [1]: https://github.com/swaywm/wlroots/pull/2097
This commit is contained in:
parent
3078f23258
commit
40e87fa98a
|
@ -504,9 +504,7 @@ static bool scan_out_fullscreen_view(struct sway_output *output,
|
||||||
wlr_presentation_surface_sampled_on_output(server.presentation, surface,
|
wlr_presentation_surface_sampled_on_output(server.presentation, surface,
|
||||||
wlr_output);
|
wlr_output);
|
||||||
|
|
||||||
if (!wlr_output_attach_buffer(wlr_output, &surface->buffer->base)) {
|
wlr_output_attach_buffer(wlr_output, &surface->buffer->base);
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return wlr_output_commit(wlr_output);
|
return wlr_output_commit(wlr_output);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue