Use wlr_client_buffer

Update for breaking changes in [1].

[1]: https://github.com/swaywm/wlroots/pull/2043
This commit is contained in:
Simon Ser 2020-02-28 12:42:35 +01:00 committed by Drew DeVault
parent 241684eb1d
commit 9d0aa0cb83
3 changed files with 5 additions and 4 deletions

View file

@ -80,7 +80,7 @@ struct sway_view {
bool allow_request_urgent;
struct wl_event_source *urgent_timer;
struct wlr_buffer *saved_buffer;
struct wlr_client_buffer *saved_buffer;
int saved_buffer_width, saved_buffer_height;
// The geometry for whatever the client is committing, regardless of