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:
Simon Ser 2021-08-10 10:42:03 +02:00
parent 97954154bc
commit 501b29db03

View file

@ -48,6 +48,8 @@ struct wlr_scene_node {
struct {
struct wl_signal destroy;
} events;
void *data;
};
/** The root scene-graph node. */