aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorAlexander Orzechowski <alex@ozal.ski>2023-01-21 16:23:30 -0500
committerAlexander Orzechowski <alex@ozal.ski>2023-01-21 16:23:30 -0500
commit5007e713b4c0d0f0cd8e97503294b81a250d3459 (patch)
treef7b57bb00bc97582f553a3c0ea2acfacfdb51101 /include/wlr
parent843b874f22b87140a04bfc279852e025967c055e (diff)
wlr_scene: Send intersecting list of scene outputs for outputs_update signal
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_scene.h7
1 files changed, 6 insertions, 1 deletions
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