aboutsummaryrefslogtreecommitdiff
path: root/swaymsg/main.c
diff options
context:
space:
mode:
authorFurkan Sahin <furkansahin824@proton.me>2025-02-03 13:13:48 -0500
committerSimon Ser <contact@emersion.fr>2025-02-09 14:29:44 +0100
commit4852087e6166062d33372bd2869fce4033232e08 (patch)
treea558ef62910a83eed1e21e920a42b777a19141e8 /swaymsg/main.c
parent851b8c6fb624a8056df16fa9db2b3dc05021e519 (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/main.c')
0 files changed, 0 insertions, 0 deletions