diff options
author | Simon Ser <contact@emersion.fr> | 2020-04-08 11:18:24 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-04-08 16:36:40 +0200 |
commit | 40e87fa98afd3e4ee4c13365beb539fc164adbc0 (patch) | |
tree | f8e9a3a53ed5371e09357bacbdf72ce46e039017 /sway/desktop | |
parent | 3078f232581d1dcd548810370c193c6d235d2e82 (diff) |
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
Diffstat (limited to 'sway/desktop')
-rw-r--r-- | sway/desktop/output.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c index e6ed9be0..be424cde 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); } |