summaryrefslogtreecommitdiff
path: root/src/library.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-07-08 11:07:03 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-07-08 11:07:03 -0700
commit9c1b50ed98d354488329c99bc8bf77d1c6df657c (patch)
treefc4e7ceecea52f8417aada9321b410e0ab7107c1 /src/library.c
parenta353f02a7ac4504ad5edb5407278c7a03c507aef (diff)
Add comment about keeping libxcb-cursor copy of code in sync
_XcursorThemeInherits, XcursorWhite, & XcursorSep are copied in libxcb-cursor/cursor/load_cursor.c and should be kept in sync with changes to the libXcursor originals of those. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/library.c')
-rw-r--r--src/library.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/library.c b/src/library.c
index eeba35d..de23515 100644
--- a/src/library.c
+++ b/src/library.c
@@ -159,6 +159,12 @@ _XcursorNextPath (const char *path)
return colon + 1;
}
+/*
+ * _XcursorThemeInherits, XcursorWhite, & XcursorSep are copied in
+ * libxcb-cursor/cursor/load_cursor.c. Please update that copy to
+ * include any changes made to the code for those here.
+ */
+
#define XcursorWhite(c) ((c) == ' ' || (c) == '\t' || (c) == '\n')
#define XcursorSep(c) ((c) == ';' || (c) == ',')