aboutsummaryrefslogtreecommitdiffstats
path: root/cursor/xcursor.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-05-27 17:17:42 +0200
committerSimon Ser <contact@emersion.fr>2022-05-27 22:41:12 +0200
commitccca002691a94cb6f25c092a33a5d5112e2d627a (patch)
tree15d70aaec9747e6cab6621a831e6122859087191 /cursor/xcursor.c
parentcursor: fix indentation of xcursor_load_theme declaration (diff)
downloadwayland-ccca002691a94cb6f25c092a33a5d5112e2d627a.tar
wayland-ccca002691a94cb6f25c092a33a5d5112e2d627a.tar.gz
wayland-ccca002691a94cb6f25c092a33a5d5112e2d627a.tar.bz2
wayland-ccca002691a94cb6f25c092a33a5d5112e2d627a.tar.lz
wayland-ccca002691a94cb6f25c092a33a5d5112e2d627a.tar.xz
wayland-ccca002691a94cb6f25c092a33a5d5112e2d627a.tar.zst
wayland-ccca002691a94cb6f25c092a33a5d5112e2d627a.zip
cursor: drop unused XCursor comment declarations
Signed-off-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'cursor/xcursor.c')
-rw-r--r--cursor/xcursor.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/cursor/xcursor.c b/cursor/xcursor.c
index 792ac18..cb37652 100644
--- a/cursor/xcursor.c
+++ b/cursor/xcursor.c
@@ -114,34 +114,6 @@ struct xcursor_chunk_header {
};
/*
- * Here's a list of the known chunk types
- */
-
-/*
- * Comments consist of a 4-byte length field followed by
- * UTF-8 encoded text
- *
- * Comment:
- * ChunkHeader header chunk header
- * CARD32 length bytes in text
- * LISTofCARD8 text UTF-8 encoded text
- */
-
-#define XCURSOR_COMMENT_TYPE 0xfffe0001
-#define XCURSOR_COMMENT_VERSION 1
-#define XCURSOR_COMMENT_HEADER_LEN (XCURSOR_CHUNK_HEADER_LEN + (1 *4))
-#define XCURSOR_COMMENT_COPYRIGHT 1
-#define XCURSOR_COMMENT_LICENSE 2
-#define XCURSOR_COMMENT_OTHER 3
-#define XCURSOR_COMMENT_MAX_LEN 0x100000
-
-struct xcursor_comment {
- uint32_t version;
- uint32_t comment_type;
- char *comment;
-};
-
-/*
* Each cursor image occupies a separate image chunk.
* The length of the image header follows the chunk header
* so that future versions can extend the header without
@@ -162,11 +134,6 @@ struct xcursor_comment {
#define XCURSOR_IMAGE_HEADER_LEN (XCURSOR_CHUNK_HEADER_LEN + (5*4))
#define XCURSOR_IMAGE_MAX_SIZE 0x7fff /* 32767x32767 max cursor size */
-struct xcursor_comments {
- int ncomment; /* number of comments */
- struct xcursor_comments **comments; /* array of XcursorComment pointers */
-};
-
/*
* From libXcursor/src/file.c
*/