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-03-06 18:16:08 +0200
commit786f91bd280b83049e5f60b3e8e88f81ab80e94c (patch)
tree5a94709e4ef01b1ab59b558db810b8226170ed0c /protocol
parenta35a7f2e5cc20bd40ece91918e753c709e2ee10b (diff)
protocol: Advertise the applications to regular clients
The application ids will be advertised when binding the protocol interface but also when the regular clients will create their surface. Client are responsible for filtering their own name. Bug-AGL: SPEC-3252 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 076b4f2..1347063 100644
--- a/protocol/agl-shell-desktop.xml
+++ b/protocol/agl-shell-desktop.xml
@@ -32,6 +32,18 @@
no mechanism to place to restrict or limit that.
</description>
+ <event name="application">
+ <description summary="advertise application id">
+ The compositor may choose to advertise one or more application ids which
+ can be used to activate/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