layout: Do not attempt to activate a split or a fs surface 11/24511/8
authorMarius Vlad <marius.vlad@collabora.com>
Sat, 2 May 2020 15:20:20 +0000 (18:20 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Mon, 8 Jun 2020 14:26:36 +0000 (17:26 +0300)
commit496b41700142ba76001b6e8a400c7e563768cb4b
tree3779d57c02d092139d6912d4c3f50389030e604b
parenta9ae8d75026b1fa1ef32d143da23bc8ee9aedeaa
layout: Do not attempt to activate a split or a fs surface

As long as there is (an already created) surface in a split/fs type of role
there's no point in trying to activate it. Users can mistakenly try to
do that so have some logic in place to avoid it.

Bug-AGL: SPEC-3334

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