From 5007e713b4c0d0f0cd8e97503294b81a250d3459 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Sat, 21 Jan 2023 16:23:30 -0500 Subject: wlr_scene: Send intersecting list of scene outputs for outputs_update signal --- include/wlr/types/wlr_scene.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h index 6d1e75b7..659a8b33 100644 --- a/include/wlr/types/wlr_scene.h +++ b/include/wlr/types/wlr_scene.h @@ -123,6 +123,11 @@ struct wlr_scene_rect { float color[4]; }; +struct wlr_scene_outputs_update_event { + struct wlr_scene_output **active; + size_t size; +}; + /** A scene-graph node displaying a buffer */ struct wlr_scene_buffer { struct wlr_scene_node node; @@ -131,7 +136,7 @@ struct wlr_scene_buffer { struct wlr_buffer *buffer; struct { - struct wl_signal outputs_update; + struct wl_signal outputs_update; // struct wlr_scene_outputs_update_event struct wl_signal output_enter; // struct wlr_scene_output struct wl_signal output_leave; // struct wlr_scene_output struct wl_signal output_present; // struct wlr_scene_output -- cgit v1.2.3