diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2025-02-03 13:13:48 -0500 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2025-02-03 13:13:48 -0500 |
| commit | dba79dd71c580aa08697cf3d565cbd6164f2646c (patch) | |
| tree | a558ef62910a83eed1e21e920a42b777a19141e8 /swaymsg | |
| parent | 656fe3976c53d76466005b4080e13acb5e3e5e8b (diff) | |
output/background: fix config ignoring fallback color
currently, the output background command handler prematurely
returns with an error if the background file cannot be accessed.
It should only error if user did not provide fallback color.
closes #8556
Changes
- Introduce variables to avoid uneccessary writing on output members
- Log a debug message when fallback is being used over inaccessible
file
- Always parse the background color and swaynag warn if it is incorrect
- when updating output member variables, free previous values
- add cleanup label and goto it if `strdup` fails
- Move output->member initializations to before parsing fallback, Also
free and init output->background as well
Diffstat (limited to 'swaymsg')
0 files changed, 0 insertions, 0 deletions
