shell: Avoid creating and inserting black surface 33/25433/2
authorMarius Vlad <marius.vlad@collabora.com>
Tue, 6 Oct 2020 06:51:42 +0000 (09:51 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Sun, 18 Oct 2020 14:32:41 +0000 (17:32 +0300)
commit12a3508d4ab379f610e6a631c17d502182f73f3d
tree9ae54d6e07da5c13266fd70290c6fbf2cd98a084
parentfe771c084c2f0192ca08dd3b7f85088960703e36
shell: Avoid creating and inserting black surface

Creating and inserting the black surface will require to have an
valid weston output. That might not be always the case so guard
against no output being set.

Bug-AGL: SPEC-3601

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: If7034bf0259fee164ba0f4b6a6ac3ef7d6bf30d6
src/shell.c