shell: Check for a valid ivi_surface 04/28504/1
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 15 Feb 2023 15:49:50 +0000 (17:49 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 15 Feb 2023 16:11:14 +0000 (18:11 +0200)
commitee50083d93869aaa581a092c522efe08252fae55
tree1ea9e77c22c3f0d66eeb7fdef3df231d9415e2e0
parent02fcb317161c08bcf02093a74abe18d4a4392335
shell: Check for a valid ivi_surface

A hot-plug/re-plug event means we remove the black curtain with it the
ivi_surface that hangs out of it, so verify it before assuming there's
one installed.

Bug-AGL: SPEC-4705
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Iad53ae34b4e15b5962cf984978a65c344aac9200
src/shell.c