layout: Add missing hooks for other surface roles sandbox/mvlad/add-missing-hooks
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 10 Jul 2020 12:01:28 +0000 (15:01 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Fri, 10 Jul 2020 14:27:09 +0000 (17:27 +0300)
commit9ff4c2044d1dcca228db4d9f77730c0220269be3
tree8ed480ef6dc79f126cd3ca59f55e6ea6682ebfa1
parent39ea644837dd29cd47a579a9703b43458187f82b
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.

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