wlr_scene: Send intersecting list of scene outputs for outputs_update signal

This commit is contained in:
Alexander Orzechowski 2023-01-21 16:23:30 -05:00
parent 843b874f22
commit 5007e713b4
2 changed files with 30 additions and 2 deletions

View file

@ -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