wayland/cursor
catsout 91a92e5085 cursor: add XDG_DATA_DIRS to xcursor search path
For XDG Base Directory Specification
The XDG_DATA_HOME is already supported.
This patch adds XDG_DATA_DIRS support.

As specifications:
1.$XDG_DATA_DIRS defines the preference-ordered set of base directories
to search for data files in addition to the $XDG_DATA_HOME base directory.
2.if $XDG_DATA_DIRS is either not set or empty, a value equal to
/usr/local/share/:/usr/share/ should be used.
3.look in $HOME/.icons (for backwards compatibility) at first.

Related:
https://github.com/alacritty/alacritty/issues/4371
ad87b12264
XDG Base Directory Specification
Icon Theme Specification

Signed-off-by: catsout outline941@live.com
2022-09-13 07:49:42 +08:00
..
convert_font.c cursor/convert_font.c: malloc cannot guarantee that the memory allocated is always successful 2020-10-29 13:00:20 +00:00
cursor-data.h (multiple): Include stdint.h 2016-07-25 18:39:32 -07:00
cursor.pcf cursor: add cursor.pcf and extraction program 2012-09-10 21:05:14 -04:00
meson.build meson: override dependencies to ease use as subproject 2021-12-08 00:27:58 +01:00
os-compatibility.c cursor/os-compatibility: handle EINTR gracefully 2022-06-09 19:18:47 +00:00
os-compatibility.h cursor/os-compatibility: move resizing into a separate function 2020-02-23 20:42:54 +00:00
wayland-cursor.c cursor: rename functions to snake case 2022-05-23 08:59:05 +00:00
wayland-cursor.h cursor: Properly document wl_cursor_image and wl_cursor 2020-06-05 11:05:20 +00:00
xcursor.c cursor: add XDG_DATA_DIRS to xcursor search path 2022-09-13 07:49:42 +08:00
xcursor.h cursor: rename functions to snake case 2022-05-23 08:59:05 +00:00