wlr_scene: Introduce xcursor helper

This commit is contained in:
Alexander Orzechowski 2023-04-07 17:09:31 +02:00
parent b1e38fc7ea
commit da457106f6
3 changed files with 212 additions and 0 deletions

View file

@ -33,6 +33,7 @@ struct wlr_xdg_surface;
struct wlr_layer_surface_v1;
struct wlr_drag_icon;
struct wlr_surface;
struct wlr_xcursor_manager;
struct wlr_scene_node;
struct wlr_scene_buffer;
@ -506,4 +507,10 @@ void wlr_scene_layer_surface_v1_configure(
struct wlr_scene_tree *wlr_scene_drag_icon_create(
struct wlr_scene_tree *parent, struct wlr_drag_icon *drag_icon);
/**
* Add a node displaying an xcursor to the scene-graph.
*/
struct wlr_scene_tree *wlr_scene_xcursor_create(struct wlr_scene_tree *parent,
struct wlr_xcursor_manager *manager, const char *name);
#endif