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
parent 241684eb1d
commit f6f60a9fae
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
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