summaryrefslogtreecommitdiffstats
path: root/protocol
diff options
context:
space:
mode:
authorWalter Lozano <walter.lozano@collabora.com>2021-02-17 11:00:44 -0300
committerWalter Lozano <walter.lozano@collabora.com>2021-02-17 12:08:39 -0300
commitd85915199c8a3213ad827ca2dfb3bbc34c5f3da3 (patch)
tree30a90f9c60d8b385172ea60dbed066b3f51daf49 /protocol
parentfd860492da6fb07f06b308805e6fc57afa76b186 (diff)
Notify about application destruction
Currently agl-compositor notifies about application ids which can be activated/deactivated, as well as the application state. However, when an application is destroyed this information is not communicated to desktop making it out of sync with the actual list of available applications. To overcome this limitation extend the protocol and the logic to notify about application destruction on surface remove. Signed-off-by: Walter Lozano <walter.lozano@collabora.com> Change-Id: Ib766cf3f3fbd10f55b85212480dc4717ab1bec22
Diffstat (limited to 'protocol')
-rw-r--r--protocol/agl-shell-desktop.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/protocol/agl-shell-desktop.xml b/protocol/agl-shell-desktop.xml
index e8ae153..b90cc1d 100644
--- a/protocol/agl-shell-desktop.xml
+++ b/protocol/agl-shell-desktop.xml
@@ -43,6 +43,7 @@
<enum name="app_state">
<entry name="activated" value="0"/>
<entry name="deactivated" value="1"/>
+ <entry name="destroyed" value="2"/>
</enum>
<event name="application">