From 7cbcc65ad00e195a821cf955dd2302b6b0ec1bf0 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 29 Jun 2021 13:41:47 +0200 Subject: surface: make wlr_subsurface_create private Same as [1], but for wlr_subsurface. [1]: https://github.com/swaywm/wlroots/pull/2814 --- include/wlr/types/wlr_surface.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index 00db6cd8..72dc4b30 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -213,14 +213,6 @@ bool wlr_surface_has_buffer(struct wlr_surface *surface); */ struct wlr_texture *wlr_surface_get_texture(struct wlr_surface *surface); -/** - * Create a new subsurface resource with the provided new ID. If `resource_list` - * is non-NULL, adds the subsurface's resource to the list. - */ -struct wlr_subsurface *wlr_subsurface_create(struct wlr_surface *surface, - struct wlr_surface *parent, uint32_t version, uint32_t id, - struct wl_list *resource_list); - /** * Get the root of the subsurface tree for this surface. Can return NULL if * a surface in the tree has been destroyed. -- cgit v1.2.3