screencopy: add capture_output_region support

This commit is contained in:
emersion 2018-06-23 15:12:17 +01:00
parent 2b9cbaddf3
commit bf7560b7cd
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
4 changed files with 93 additions and 27 deletions

View file

@ -18,7 +18,7 @@ struct wlr_screencopy_frame_v1 {
struct wlr_screencopy_manager_v1 *manager;
struct wl_list link;
int32_t width, height;
struct wlr_box buffer_box;
struct wl_shm_buffer *buffer;