From: Marius Vlad Date: Mon, 1 Jun 2020 17:12:07 +0000 (+0300) Subject: shell: Do not remove the black surface if we don't have a background X-Git-Tag: 9.99.1~24 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=b491db3111b98e008a31ac817b9987db1b47f35f;p=src%2Fagl-compositor.git shell: Do not remove the black surface if we don't have a background set for that output Bug-AGL: SPEC-3280 Signed-off-by: Marius Vlad Change-Id: I07ca7108e37dcdb992de0e2223bde3f9fa200863 --- diff --git a/src/shell.c b/src/shell.c index e1aac8d..6944f8a 100644 --- a/src/shell.c +++ b/src/shell.c @@ -606,7 +606,8 @@ shell_ready(struct wl_client *client, struct wl_resource *shell_res) ivi->shell_client.ready = true; wl_list_for_each(output, &ivi->outputs, link) { - remove_black_surface(output); + if (output->background) + remove_black_surface(output); ivi_layout_init(ivi, output); }