region: constify

This commit is contained in:
Simon Ser 2022-10-24 13:02:33 +02:00 committed by Simon Zeni
parent fe4225d5de
commit c5d79bfb26
4 changed files with 19 additions and 13 deletions

View file

@ -25,6 +25,6 @@ struct wl_resource;
*
* To allow clients to create wl_region objects, call wlr_compositor_create().
*/
pixman_region32_t *wlr_region_from_resource(struct wl_resource *resource);
const pixman_region32_t *wlr_region_from_resource(struct wl_resource *resource);
#endif