From 0aa1b7b2077bfad0c79ca984d1e114f324015308 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Wed, 3 Aug 2022 17:05:54 +0300 Subject: 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 --- protocol/agl-shell.xml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) 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. + + + + + + -- cgit 1.2.3-korg