Add manual activation area configuration option 66/28066/2
authorScott Murray <scott.murray@konsulko.com>
Tue, 25 Oct 2022 21:25:45 +0000 (17:25 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 31 Oct 2022 11:41:10 +0000 (11:41 +0000)
commit17f92b23b99d6c34793b6b636dc4d508113f0489
tree2dd383ae74411f6dae66570be3afa94fcb97048a
parentaf1cda87d2ca69fe3aaf380bf7fbb5791d7499c5
Add manual activation area configuration option

Add a per-output "activation-area" configuration option that can be
used to define the activation area for applications that are not
using panels.

Notes:
- A new surface is not created for the given activation area, so
  apps that are not opaque will show the background.  After some
  thought, this seems like acceptable behavior, but it is possible
  that I am missing something.
- At present setting the activation area explicitly disables use of
  any panels, this may not need to be the case and some discussion
  with the AGL community with respect to requirements is likely
  needed.
- It is likely that this feature should be done via a agl-shell
  protocol call instead of via configuration, but doing so will
  require some thought as to the interaction with panels and how
  configuration errors would be communicated back to a client.

Bug-AGL: SPEC-4588

(manual cherry-pick of 924473ef016ba8dcfa863861740be2289421313d)
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I13885ce7a4d7a1c76761012fe012a2bfbb4474c8
src/compositor.c
src/ivi-compositor.h
src/layout.c