mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 09:58:14 +02:00
frontend: Explicitly add a check for printing warning
Fixes a minor issue with 28bdcb46be ("frontend: Log when exiting due to
insufficient active outputs") to only print that we have
no outputs enabled but we're allowed to continue when we actually get to
that scenario.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
parent
208157f2e4
commit
d2cf5a7ba5
1 changed files with 4 additions and 2 deletions
|
|
@ -3001,8 +3001,10 @@ drm_process_layoutputs(struct wet_compositor *wet)
|
|||
return -1;
|
||||
}
|
||||
|
||||
weston_log("Warning: No output enabled, but none required "
|
||||
"as per configuration\n");
|
||||
if (wet->require_outputs != REQUIRE_OUTPUTS_ANY &&
|
||||
!wl_list_length(&wet->layoutput_list))
|
||||
weston_log("Warning: No output enabled, but none required "
|
||||
"as per configuration\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue