aboutsummaryrefslogtreecommitdiff
path: root/include/xcursor
diff options
context:
space:
mode:
authorManuel Stoeckl <code@mstoeckl.com>2021-02-04 08:56:09 -0500
committerSimon Ser <contact@emersion.fr>2021-02-05 10:04:20 +0100
commitb6dea80907b840ed30f056b618ee20492870f664 (patch)
treeaf10b67c688f530ccedb4f44ace873ba50871dbe /include/xcursor
parent79be26ff1f7da3be4548b000cb93f6f8e4a61242 (diff)
xcursor: make cursor data and metadata const
Diffstat (limited to 'include/xcursor')
-rw-r--r--include/xcursor/cursor_data.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xcursor/cursor_data.h b/include/xcursor/cursor_data.h
index dd7a80af..ddd54d46 100644
--- a/include/xcursor/cursor_data.h
+++ b/include/xcursor/cursor_data.h
@@ -27,7 +27,7 @@
#include <stdint.h>
-static uint32_t cursor_data[] = {
+static const uint32_t cursor_data[] = {
0xffffffff, 0xffffffff, 0xffffffff, 0xffffffff, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0xffffffff, 0xff000000,
@@ -532,7 +532,7 @@ static uint32_t cursor_data[] = {
0x00000000, 0x00000000,
};
-static struct cursor_metadata {
+static const struct cursor_metadata {
char *name;
int width, height;
int hotspot_x, hotspot_y;