diff options
author | Manuel Stoeckl <code@mstoeckl.com> | 2021-02-04 08:56:09 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-02-05 10:04:20 +0100 |
commit | b6dea80907b840ed30f056b618ee20492870f664 (patch) | |
tree | af10b67c688f530ccedb4f44ace873ba50871dbe /xcursor | |
parent | 79be26ff1f7da3be4548b000cb93f6f8e4a61242 (diff) |
xcursor: make cursor data and metadata const
Diffstat (limited to 'xcursor')
-rw-r--r-- | xcursor/wlr_xcursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xcursor/wlr_xcursor.c b/xcursor/wlr_xcursor.c index 85e76a55..a11d77a0 100644 --- a/xcursor/wlr_xcursor.c +++ b/xcursor/wlr_xcursor.c @@ -46,7 +46,7 @@ static void xcursor_destroy(struct wlr_xcursor *cursor) { #include "xcursor/cursor_data.h" static struct wlr_xcursor *xcursor_create_from_data( - struct cursor_metadata *metadata, struct wlr_xcursor_theme *theme) { + const struct cursor_metadata *metadata, struct wlr_xcursor_theme *theme) { struct wlr_xcursor *cursor; struct wlr_xcursor_image *image; int size; |