diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2020-06-01 20:12:07 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2020-06-08 23:20:39 +0300 |
commit | fd6c5fed808b962318ec655f065e7e378983e8f8 (patch) | |
tree | bbc3cd052d9e11d8fd0d8ab11a9f5bb3a58366ef | |
parent | 99c3a72570b96a36d5bf6bd0f252a3c9c725eb90 (diff) |
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 <marius.vlad@collabora.com>
Change-Id: I07ca7108e37dcdb992de0e2223bde3f9fa200863
-rw-r--r-- | src/shell.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |