From 9c1b50ed98d354488329c99bc8bf77d1c6df657c Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 8 Jul 2023 11:07:03 -0700 Subject: 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 --- src/library.c | 6 ++++++ 1 file changed, 6 insertions(+) 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) == ',') -- cgit v1.2.3