surface: make wlr_subsurface_create private

Same as [1], but for wlr_subsurface.

[1]: https://github.com/swaywm/wlroots/pull/2814
This commit is contained in:
Simon Ser 2021-06-29 13:41:47 +02:00 committed by Simon Zeni
parent ddc98bf593
commit 7cbcc65ad0
4 changed files with 10 additions and 26 deletions

View file

@ -11,4 +11,10 @@ struct wlr_renderer;
struct wlr_surface *surface_create(struct wl_client *client,
uint32_t version, uint32_t id, struct wlr_renderer *renderer);
/**
* Create a new subsurface resource with the provided new ID.
*/
struct wlr_subsurface *subsurface_create(struct wlr_surface *surface,
struct wlr_surface *parent, uint32_t version, uint32_t id);
#endif