From: Marius Vlad Date: Wed, 3 Aug 2022 14:05:54 +0000 (+0300) Subject: agl-shell: Introduce app_state and app_role enums X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=0aa1b7b2077bfad0c79ca984d1e114f324015308;p=src%2Fagl-compositor.git agl-shell: Introduce app_state and app_role enums This introduces two enums (previously in agl_shell_desktop) protocol app_state and app_role. With it, it also adds an event which the client will receive when the applications changed its state. The applications states are: started/activated/deactivated/destroyed, while the roles are floating and remoting. Signed-off-by: Marius Vlad --- diff --git a/protocol/agl-shell.xml b/protocol/agl-shell.xml index 75ffdce..e99f86f 100644 --- a/protocol/agl-shell.xml +++ b/protocol/agl-shell.xml @@ -22,7 +22,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - + Starting with version 2 of the protocol, the client is required to wait for the 'bound_ok' or 'bound_fail' events in order to proceed further. @@ -64,6 +64,18 @@ + + + + + + + + + + + + Tell the server that this client is ready to be shown. The server @@ -171,5 +183,14 @@ + + + Notifies application(s) when other application have suffered state modifications. + + + + + +