mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-19 06:47:02 -04:00
wlr_scene: Introduce xcursor helper
This commit is contained in:
parent
b1e38fc7ea
commit
da457106f6
3 changed files with 212 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue