mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-17 22:05:56 -05:00
wlr_ext_image_copy_capture_v1: new_session event
And a destroy event in wlr_ext_image_copy_capture_session_v1.
This commit is contained in:
parent
368dcfb9f6
commit
3b9f599cbe
2 changed files with 36 additions and 13 deletions
|
|
@ -19,11 +19,33 @@ struct wlr_renderer;
|
|||
struct wlr_ext_image_copy_capture_manager_v1 {
|
||||
struct wl_global *global;
|
||||
|
||||
struct {
|
||||
struct wl_signal new_session; // wlr_ext_image_copy_capture_session_v1
|
||||
} events;
|
||||
|
||||
struct {
|
||||
struct wl_listener display_destroy;
|
||||
} WLR_PRIVATE;
|
||||
};
|
||||
|
||||
struct wlr_ext_image_copy_capture_session_v1 {
|
||||
struct wl_resource *resource;
|
||||
struct wlr_ext_image_capture_source_v1 *source;
|
||||
struct wlr_ext_image_copy_capture_frame_v1 *frame;
|
||||
|
||||
struct {
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
|
||||
struct {
|
||||
struct wl_listener source_destroy;
|
||||
struct wl_listener source_constraints_update;
|
||||
struct wl_listener source_frame;
|
||||
|
||||
pixman_region32_t damage;
|
||||
} WLR_PRIVATE;
|
||||
};
|
||||
|
||||
struct wlr_ext_image_copy_capture_frame_v1 {
|
||||
struct wl_resource *resource;
|
||||
bool capturing;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue