agl-shell.xml: Introduce a new interface 67/28067/2
authorMarius Vlad <marius.vlad@collabora.com>
Sat, 8 Oct 2022 18:06:18 +0000 (21:06 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Mon, 5 Dec 2022 13:27:22 +0000 (15:27 +0200)
commit14a1292a393774727fb85662d98d8cbe4bc6e5cd
treefd763ad8afca1209590c5d17add7a1af53492d9a
parent33997a7c96838795ccb586fc7fc43ce093210546
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.

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