sway/swaynag
Brian Ashworth 97f9f0b699 parse_color: return success + drop fallback color
This is the first in a series of commits to refactor the color handling
in sway. This changes parse_color to return whether it was success and
no longer uses 0xFFFFFFFF as the fallback color. This also verifies that
the string actually contains a valid hexadecimal number along with
the length checks.

In the process of altering the calls to parse_color, I also took the
opportunity to heavily refactor swaybar's ipc_parse_colors function.
This allowed for several lines of duplicated code to be removed.
2019-12-28 10:07:25 +01:00
..
config.c parse_color: return success + drop fallback color 2019-12-28 10:07:25 +01:00
main.c
meson.build
render.c
swaynag.1.scd Fix markup syntax in man pages 2019-08-31 22:50:39 +09:00
swaynag.5.scd
swaynag.c
types.c