mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-19 06:59:48 -05:00
compositor: make wlr_compositor_destroy destroy resources
This commit is contained in:
parent
cd9f25711c
commit
89a9c96fab
4 changed files with 39 additions and 24 deletions
|
|
@ -15,7 +15,8 @@ struct wlr_compositor {
|
|||
struct wl_global *wl_global;
|
||||
struct wl_list wl_resources;
|
||||
struct wlr_renderer *renderer;
|
||||
struct wl_list surfaces;
|
||||
struct wl_list surface_resources;
|
||||
struct wl_list region_resources;
|
||||
|
||||
struct wlr_subcompositor subcompositor;
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,7 @@ struct wl_resource;
|
|||
/*
|
||||
* Implements the given resource as region.
|
||||
*/
|
||||
void wlr_region_create(struct wl_client *client, struct wl_resource *res,
|
||||
uint32_t id);
|
||||
struct wl_resource *wlr_region_create(struct wl_client *client, uint32_t id);
|
||||
|
||||
pixman_region32_t *wlr_region_from_resource(struct wl_resource *resource);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue