mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
ext-image-capture-source-v1: add output source
This commit is contained in:
parent
855b3fd607
commit
08e14deeca
3 changed files with 213 additions and 0 deletions
|
|
@ -68,6 +68,17 @@ struct wlr_ext_image_capture_source_v1_cursor {
|
|||
} events;
|
||||
};
|
||||
|
||||
/**
|
||||
* Interface exposing one screen capture source per output.
|
||||
*/
|
||||
struct wlr_ext_output_image_capture_source_manager_v1 {
|
||||
struct wl_global *global;
|
||||
|
||||
struct {
|
||||
struct wl_listener display_destroy;
|
||||
} WLR_PRIVATE;
|
||||
};
|
||||
|
||||
/**
|
||||
* Obtain a struct wlr_ext_image_capture_source_v1 from an ext_image_capture_source_v1
|
||||
* resource.
|
||||
|
|
@ -77,4 +88,7 @@ struct wlr_ext_image_capture_source_v1_cursor {
|
|||
*/
|
||||
struct wlr_ext_image_capture_source_v1 *wlr_ext_image_capture_source_v1_from_resource(struct wl_resource *resource);
|
||||
|
||||
struct wlr_ext_output_image_capture_source_manager_v1 *wlr_ext_output_image_capture_source_manager_v1_create(
|
||||
struct wl_display *display, uint32_t version);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue