sway/include/swaybar
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
..
tray swaybar: do not retry search for tray icons 2019-10-21 17:22:25 +02:00
bar.h swaybar: complete barconfig_update event handling 2019-09-04 16:48:50 -10:00
config.h swaybar: complete barconfig_update event handling 2019-09-04 16:48:50 -10:00
i3bar.h parse_color: return success + drop fallback color 2019-12-28 10:07:25 +01:00
input.h swaybar: add multiseat support 2019-04-24 07:16:37 -06:00
ipc.h swaybar: show hidden bar on urgency 2018-10-14 13:33:12 +01:00
render.h swaybar: synchronize rendering to output frames 2018-09-30 10:07:33 +01:00
status_line.h Make json-c include respect pkg-config --cflags 2019-01-23 21:50:06 -05:00