summaryrefslogtreecommitdiffstats
path: root/protocol
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2020-02-17 16:48:27 +0200
committerMarius Vlad <marius.vlad@collabora.com>2020-02-18 18:42:45 +0200
commita3d9b4181f7175d0c4e233b2b67ca8ffdc17f22a (patch)
tree6491f9cb98c840b28671c1d0750966ca978fbbd2 /protocol
parentfee13f7ce6f02cd964a7ccc79a0b051f6d9a6ddd (diff)
protocol: Advertise the applications to regular clients
Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ia196e7d3b34694d7cb169228429a0e940eae8b3b
Diffstat (limited to 'protocol')
-rw-r--r--protocol/agl-shell-desktop.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/protocol/agl-shell-desktop.xml b/protocol/agl-shell-desktop.xml
index ec5fc38..616da02 100644
--- a/protocol/agl-shell-desktop.xml
+++ b/protocol/agl-shell-desktop.xml
@@ -27,6 +27,18 @@
to activate other apps">
</description>
+ <event name="application">
+ <description summary="advertise app_id available for activating">
+ The compositor may choose to advertise one or more application ids which
+ can be used to switch to.
+
+ When this global is bound, the compositor will send all application ids
+ available for activation, but may send additional application id at any
+ time (when they've been mapped in the compositor).
+ </description>
+ <arg name="app_id" type="string"/>
+ </event>
+
<request name="activate_app">
<description summary="make client current window">
Ask the compositor to make a toplevel to become the current/focused