mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 01:48:00 +02:00
compositor-drm: Do not return an error when no connectors are configured
Returning an error when there are no connectors results in weston terminating after that. That's not expected when trying to get weston to start with zero drm outputs. Signed-off-by: Armin Krezović <krezovic.armin@gmail.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
This commit is contained in:
parent
707c4fd155
commit
b12a754259
1 changed files with 1 additions and 4 deletions
|
|
@ -2618,11 +2618,8 @@ create_outputs(struct drm_backend *b, uint32_t option_connector,
|
|||
drmModeFreeConnector(connector);
|
||||
}
|
||||
|
||||
if (wl_list_empty(&b->compositor->output_list)) {
|
||||
if (wl_list_empty(&b->compositor->output_list))
|
||||
weston_log("No currently active connector found.\n");
|
||||
drmModeFreeResources(resources);
|
||||
return -1;
|
||||
}
|
||||
|
||||
drmModeFreeResources(resources);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue