mirror of
https://github.com/swaywm/sway.git
synced 2026-04-23 06:46:27 -04:00
Use wlr_client_buffer
Update for breaking changes in [1]. [1]: https://github.com/swaywm/wlroots/pull/2043
This commit is contained in:
parent
241684eb1d
commit
9d0aa0cb83
3 changed files with 5 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue