aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_screencopy_v1.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_screencopy_v1.h b/include/wlr/types/wlr_screencopy_v1.h
index ab81f81a..b42ec3a8 100644
--- a/include/wlr/types/wlr_screencopy_v1.h
+++ b/include/wlr/types/wlr_screencopy_v1.h
@@ -27,9 +27,15 @@ struct wlr_screencopy_manager_v1 {
void *data;
};
+struct wlr_screencopy_v1_client {
+ int ref;
+ struct wlr_screencopy_manager_v1 *manager;
+ struct wl_list damages;
+};
+
struct wlr_screencopy_frame_v1 {
struct wl_resource *resource;
- struct wlr_screencopy_manager_v1 *manager;
+ struct wlr_screencopy_v1_client *client;
struct wl_list link;
enum wl_shm_format format;
@@ -38,6 +44,8 @@ struct wlr_screencopy_frame_v1 {
bool overlay_cursor, cursor_locked;
+ bool with_damage;
+
struct wl_shm_buffer *buffer;
struct wl_listener buffer_destroy;