sway/sway/commands/output
Furkan Sahin 4852087e61 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
2025-02-09 14:29:44 +01:00
..
adaptive_sync.c Add toggle for output adaptive_sync 2024-09-20 15:38:27 +02:00
allow_tearing.c Add support for tearing-control-v1 2024-08-05 02:13:49 +02:00
background.c output/background: fix config ignoring fallback color 2025-02-09 14:29:44 +01:00
color_profile.c commands/output/color_profile: allows use of relative path for ICC profile 2024-08-14 11:03:53 +02:00
disable.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
dpms.c Rename dpms output command to power 2022-06-23 14:47:50 -04:00
enable.c Don't allow noop output to be configured 2019-01-22 09:55:13 +01:00
max_render_time.c output: add max_render_time 2019-11-17 20:18:42 +01:00
mode.c Add output modeline command 2021-08-31 17:29:40 +02:00
position.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
power.c Remove internal references to DPMS 2022-07-04 21:58:24 +03:00
render_bit_depth.c config/output: Add support for 6-bit render fmt 2024-09-20 14:08:04 +02:00
scale.c Remove now-unused "input" argument of cmd_results_new 2019-01-14 08:05:29 -05:00
scale_filter.c add scale_filter output config option 2019-11-29 18:13:37 +01:00
subpixel.c Add support for manually setting subpixel hinting on outputs. 2019-03-24 09:37:24 +02:00
toggle.c commands/output/toggle: Use free_output_config 2024-03-28 10:45:20 +01:00
transform.c Add wlr/util/transform.h includes 2023-11-23 16:13:19 +03:00
unplug.c sway/commands/output: Add command for unplugging non-physical outputs 2022-10-07 19:17:39 +02:00