shell: Avoid creating and inserting black surface 33/25433/3
authorMarius Vlad <marius.vlad@collabora.com>
Tue, 6 Oct 2020 06:51:42 +0000 (09:51 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Thu, 5 Nov 2020 08:41:32 +0000 (10:41 +0200)
commitdce67758ac776ccf71faf31f8236fa3b10c31a2c
tree63451f5594b3d0123e2121c4212cfc929dc7327f
parentb4d7a5a1861dc5028f3b1dff0e8432a2829208f2
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