diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-07-08 11:07:03 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2023-07-08 11:07:03 -0700 |
commit | 9c1b50ed98d354488329c99bc8bf77d1c6df657c (patch) | |
tree | fc4e7ceecea52f8417aada9321b410e0ab7107c1 /src/library.c | |
parent | a353f02a7ac4504ad5edb5407278c7a03c507aef (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.c | 6 |
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) == ',') |