layout: Add missing hooks for other surface roles 00/25000/3 9.99.3 jellyfish/9.99.3 jellyfish_9.99.3
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 10 Jul 2020 12:01:28 +0000 (15:01 +0300)
committerScott Murray <scott.murray@konsulko.com>
Wed, 29 Jul 2020 13:12:04 +0000 (13:12 +0000)
commitc7bc55dce459ea25f725410fc1b86dd9534a9ed5
tree0842751dcb90bbdd514ce2c61990636d5a7d0d73
parentbf016d20408920f3ef09894ebb9f237e270267e5
layout: Add missing hooks for other surface roles

We are missing the activate_by_default hooks for split, pop-up and and
fullscreen roles. Part of that is due to the fact that these roles are
handled a bit differently that the remote and desktop roles.

Note, these hooks are different than the commit ones -- which are
'installed' a bit earlier. This means that there was still a possiblity
one might've used that hook to retrieve the surface role for instance,
and act accordingly.

Also, note that we allow for pop-up/dialogs be activated by using the
deliberate 'activate' request, which allows one to customize the policy
to deny certain pop-up/dialogs to be activated by default, but allow do
so explictly when using the 'activate' request.

Bug-AGL: SPEC-3494

Reported-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I634bbb5915e65880c1d47363cf6dae529feac9d2
src/layout.c