protocol: agl-shell-desktop: Send notification for application state change 05/24405/3
authorMarius Vlad <marius.vlad@collabora.com>
Tue, 14 Apr 2020 19:00:20 +0000 (22:00 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Tue, 12 May 2020 18:56:35 +0000 (21:56 +0300)
commit401773a463992f926086b178caff14dd55dbd148
treee9bbcd1dcca6d3090cff6266b50ec03fd4ea08c0
parent795eb91d057b491011594162b402543c525d6545
protocol: agl-shell-desktop: Send notification for application state change

The events are sent straight after the activation took place. The state
changes are the surface role (for instance, pop-up) and the
activate/de-activate type of event. With that information there's also a
string type of data which can be used as easy way to forward data.

Note that this isn't the proper way for applications to
communicate with each other, but merely as a convenient way to pass data
from one application to another. In order to hang-off the data, the
'activate_app' request also got an additional argument which is relayed
back with the event.

Bug-AGL: SPEC-3269

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