layout: Allow background surface roles (to) be activated 64/28164/1
authorScott Murray <scott.murray@konsulko.com>
Mon, 14 Nov 2022 18:27:27 +0000 (13:27 -0500)
committerScott Murray <scott.murray@konsulko.com>
Mon, 14 Nov 2022 18:27:27 +0000 (13:27 -0500)
commit0a936136ace7f2f4cc2a11834cde4be86381372f
treeb8bef565829c85e6b1dc783c290708ec09f6c0bd
parent17f92b23b99d6c34793b6b636dc4d508113f0489
layout: Allow background surface roles (to) be activated

While nothing technically prevents the background surface role to
be activated, it turns out we don't actually track it so we a) couldn't
find it, and b) we attempted to resize it to an incorrect dimension.

Another small follow-up commit from 'Add manual activation area
configuration option' and with with commit 'agl-shell: Add support for
defining an activation area', which introduced the ability to designate
a certain area as the activation area.

v2: Keep the background surface always mapped

We now have more than one active surfaces at the same time, so we can't
unmap it as it needs to be always displayed.

Bug-AGL: SPEC-4594
Reported-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
[backported to Needlefish branch]
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I8373c04c8f75e19a1efa4961c06ad36d7b6031cb
src/layout.c
src/shell.c