docs/iconcache.txt is outdated/wrong
ICON_FLAGS
HAS_SUFFIX_PNG 1
HAS_SUFFIX_XPM 2
HAS_SUFFIX_SVG 4
HAS_ICON_FILE 8
This doesn't match flags defined in tools/updateiconcache.c
:
#define HAS_SUFFIX_XPM (1 << 0)
#define HAS_SUFFIX_SVG (1 << 1)
#define HAS_SUFFIX_PNG (1 << 2)
#define HAS_ICON_FILE (1 << 3)
Additionally, the cache format allows for embedded rects, attach points, and display names, all of which have been deprecated a long time ago.
Opening this as an issue as I'm not sure whether this file is maintained at all and/or intended to be used as a specification.