From 914be30bc0eb8a26e1ce0ab7e91fa3129d5ba51b Mon Sep 17 00:00:00 2001 From: Michael Tretter Date: Wed, 31 May 2023 14:14:33 +0200 Subject: [PATCH] backend-drm: change default for required-outputs to any On a desktop system, the expected behavior during a Weston start is that if any monitor can be enabled, Weston starts up and enables the monitor. Outputs that could not be enabled, stay disabled. This helps the user in debugging the failed outputs. Signed-off-by: Michael Tretter --- compositor/main.c | 2 +- man/weston.ini.man | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index de63ce491..6d37773d9 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -4111,7 +4111,7 @@ wet_main(int argc, char *argv[], const struct weston_testsuite_data *test_data) weston_config_section_get_bool(section, "require-input", &wet.compositor->require_input, true); - wet.require_outputs = REQUIRE_OUTPUTS_ALL_FOUND; + wet.require_outputs = REQUIRE_OUTPUTS_ANY; weston_config_section_get_string(section, "require-outputs", &require_outputs, NULL); if (require_outputs) { diff --git a/man/weston.ini.man b/man/weston.ini.man index 66c68d146..a6b10b407 100644 --- a/man/weston.ini.man +++ b/man/weston.ini.man @@ -168,7 +168,7 @@ set to 300 seconds. .BI "require-input=" true require an input device for launch .TP 7 -.BI "require-outputs=" all-found +.BI "require-outputs=" any configures the behavior if Weston fails to configure and enable outputs. Depending on the use-case, it may preferable to ensure that Weston only starts