mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-13 14:32:57 -04:00
Allow copying of any outputs
current attempts at copying regions outside the first output end up wrapping into the first output. Fix this by allowing compositors to expose the layout.
This commit is contained in:
parent
f56e1f6a52
commit
77e59d5991
2 changed files with 20 additions and 1 deletions
|
|
@ -17,6 +17,7 @@
|
|||
struct wlr_scene_node;
|
||||
struct wlr_allocator;
|
||||
struct wlr_renderer;
|
||||
struct wlr_output_layout;
|
||||
|
||||
/**
|
||||
* A screen capture source.
|
||||
|
|
@ -82,6 +83,7 @@ struct wlr_ext_output_image_capture_source_manager_v1 {
|
|||
struct wl_global *global;
|
||||
struct wl_display *display;
|
||||
struct wlr_scene *scene;
|
||||
struct wlr_output_layout *layout;
|
||||
|
||||
struct {
|
||||
struct wl_listener display_destroy;
|
||||
|
|
@ -89,6 +91,10 @@ struct wlr_ext_output_image_capture_source_manager_v1 {
|
|||
struct wlr_backend *headless_backend;
|
||||
};
|
||||
|
||||
void wlr_ext_output_image_capture_source_manager_v1_set_layout(
|
||||
struct wlr_ext_output_image_capture_source_manager_v1 *manager,
|
||||
struct wlr_output_layout *layout);
|
||||
|
||||
void wlr_ext_output_image_capture_source_manager_v1_set_scene(
|
||||
struct wlr_ext_output_image_capture_source_manager_v1 *manager,
|
||||
struct wlr_scene *scene);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue