mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-01 16:55:59 +01:00
scene: add user data pointer to wlr_scene_node
This allows compositors to attach arbitrary data to the scene-graph nodes.
This commit is contained in:
parent
97954154bc
commit
501b29db03
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,8 @@ struct wlr_scene_node {
|
||||||
struct {
|
struct {
|
||||||
struct wl_signal destroy;
|
struct wl_signal destroy;
|
||||||
} events;
|
} events;
|
||||||
|
|
||||||
|
void *data;
|
||||||
};
|
};
|
||||||
|
|
||||||
/** The root scene-graph node. */
|
/** The root scene-graph node. */
|
||||||
|
|
Loading…
Reference in a new issue