implement compositor create region

Complete the implementation of wlr_region_create and put it in the compositor.
This commit is contained in:
Tony Crisci 2017-08-10 05:57:58 -04:00
parent 750d0ad458
commit 14654ecb77
3 changed files with 21 additions and 4 deletions

View file

@ -5,6 +5,7 @@ struct wl_resource;
// Implements the given resource as region.
// Sets the associated pixman_region32_t as userdata.
void wlr_region_create(struct wl_resource *res);
void wlr_region_create(struct wl_client *client, struct wl_resource *res,
uint32_t id);
#endif