layout: Do not attempt to activate a split or a fs surface 11/24511/3
authorMarius Vlad <marius.vlad@collabora.com>
Sat, 2 May 2020 15:20:20 +0000 (18:20 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Mon, 18 May 2020 10:01:48 +0000 (13:01 +0300)
commit056e977e85cc40774a82659819ccb455056fbb39
tree37167d41638b54740b76d83c3ed226da37594af5
parent52769b82974afda0b4bba8b0c98a996cb96cac06
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