mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
compositor: destroy subsurface resources with wlr_subcompositor
This commit is contained in:
parent
89a9c96fab
commit
d47713ac0f
4 changed files with 45 additions and 15 deletions
|
|
@ -9,6 +9,7 @@ struct wlr_surface;
|
|||
struct wlr_subcompositor {
|
||||
struct wl_global *wl_global;
|
||||
struct wl_list wl_resources;
|
||||
struct wl_list subsurface_resources;
|
||||
};
|
||||
|
||||
struct wlr_compositor {
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@ bool wlr_surface_has_buffer(struct wlr_surface *surface);
|
|||
/**
|
||||
* Create the subsurface implementation for this surface.
|
||||
*/
|
||||
void wlr_surface_make_subsurface(struct wlr_surface *surface,
|
||||
struct wlr_subsurface *wlr_surface_make_subsurface(struct wlr_surface *surface,
|
||||
struct wlr_surface *parent, uint32_t id);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue