agl-shell.xml: Introduce a new interface
authorMarius Vlad <marius.vlad@collabora.com>
Sat, 8 Oct 2022 18:06:18 +0000 (21:06 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Fri, 21 Oct 2022 17:16:50 +0000 (20:16 +0300)
commit8b661b747c67e7af7730d058392980a08ca3f07a
tree371b48e764df449970a7f999f2b0b8d2b8743bf8
parent924473ef016ba8dcfa863861740be2289421313d
agl-shell.xml: Introduce a new interface

In order to allow another other client bind to agl_shell interface, this
introduces a new specific interface which the client would bind to
first, issue a doas_shell_client request, wait for a response, and
proceeed further if the event received was successful. Afterwards, the
client can bind to agl_shell protocol (and assuming it got 'bound_ok'
event back) can further use the agl_shell protocol as it happens with
the shell client.

This approach avoids adding a new protocol interface and instead re-uses
the same interface, with the note that the shell client is still in
charge of handling background and panels.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Iac1d840a5f917b2a92fdfbdcdc583144d3942a1c
protocol/agl-shell.xml
src/ivi-compositor.h
src/shell.c