aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-10-24 13:02:33 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-11-11 23:11:17 +0000
commitc5d79bfb2657798d2663dbabc9ac8c3975fc63fb (patch)
tree7d44f9422078e356549c20d03461959129f97633 /include/wlr
parentfe4225d5dee51f21e0623fd1050af79918ff4718 (diff)
region: constify
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_region.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_region.h b/include/wlr/types/wlr_region.h
index e731c8b1..62ac85c0 100644
--- a/include/wlr/types/wlr_region.h
+++ b/include/wlr/types/wlr_region.h
@@ -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