mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-26 06:59:52 -05:00
wlr_scene: Send intersecting list of scene outputs for outputs_update signal
This commit is contained in:
parent
843b874f22
commit
5007e713b4
2 changed files with 30 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue