protocol/agl-shell.xml: Add an app_state event -- app state notification 67/27967/2
authorMarius Vlad <marius.vlad@collabora.com>
Thu, 1 Sep 2022 12:19:59 +0000 (15:19 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 14 Sep 2022 16:42:31 +0000 (19:42 +0300)
commit0512e7251611e7040c550bb4c6cc972d57b45144
treea7531f55b4688af422277ea48eb07034b4c122ec
parentbb730ca304a5f62889038cb1bc6509afb869ee95
protocol/agl-shell.xml: Add an app_state event -- app state notification

This protocol bump will notify the client binding to the agl-shell protocol
when a particular application changed its state.

This includes four (4) different events:

- started
- terminated
- activated
- deactivated

This should allow orchestrating start-up with activation as we don't
really know when it would be the proper time to activate an application
when starting up (for the first time). A started event will notify the
shell client we it can do that. These events are not sticky such that
the shell would be responsabile for keep  track of the state, if it
wants to.

Bug-AGL: SPEC-4528
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Id162874fa68946bb9b1db9fa356dd617a0db9eb7
protocol/agl-shell.xml
src/desktop.c
src/layout.c
src/shell.c