sway/common
Brian Ashworth 66dc33296c cmd_client_*: refactor duplicated code
This is the second in a series of commits to refactor the color handling
in sway. This removes the duplicated color parsing code in
sway/commands/client.c. Additionally, this combines the parsing of
colors to float arrays with that in sway/config.c and introduces a
color_to_rgba function in commom/util.c.

As an added bonus, this also makes it so non of the colors in a border
color class will be changed unless all of the colors specified are
valid. This ensures that an invalid command does not get partially
applied.
2019-12-28 10:07:25 +01:00
..
background-image.c swaybg: split into standalone project 2019-04-25 18:44:28 +03:00
cairo.c swaybg: split into standalone project 2019-04-25 18:44:28 +03:00
ipc-client.c ipc-client: remove useless free for failed malloc 2019-08-12 09:42:11 +09:00
list.c
log.c Use -fmacro-prefix-map to strip build path 2019-07-15 16:35:50 -04:00
loop.c
meson.build
pango.c
stringop.c Amend typos 2019-11-23 11:48:31 +01:00
util.c cmd_client_*: refactor duplicated code 2019-12-28 10:07:25 +01:00