desktop: Handle correctly panel and bg removal of agl-shell unbind 88/24588/2
authorMarius Vlad <marius.vlad@collabora.com>
Sat, 30 May 2020 19:12:13 +0000 (22:12 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 8 Jun 2020 13:58:44 +0000 (13:58 +0000)
commita2f9566bdbfcb8ee05a1f0bf5b908a93bcc85f33
treeb1814c868086e4fcbce07d692c49a7f90f090fa0
parent79420056715721321ec359a6aafdc3c3910bc4d6
desktop: Handle correctly panel and bg removal of agl-shell unbind

We don't need to free the ivi_surface when un-binding the agl-shell, as
that should happen when `desktop_surface_removed()` is called.

We'll just invalidate them depending on the role so that next time we're
going to able to bind again.

Bug-AGL: SPEC-3404

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