aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/protocol
diff options
context:
space:
mode:
authorScott Anderson <scott.anderson@collabora.com>2019-12-04 19:58:38 +1300
committerScott Anderson <scott.anderson@collabora.com>2019-12-04 19:58:38 +1300
commit9af877d3a775763d9199ffa897948f5009bd8a7b (patch)
treefea187efd64b7e32406e512fc34941cf962f0fbf /homescreen/protocol
parenta3433100dccaca03c95bc03fd66939fb4eca6670 (diff)
Add basic support for app switching
Diffstat (limited to 'homescreen/protocol')
-rw-r--r--homescreen/protocol/agl-shell.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/homescreen/protocol/agl-shell.xml b/homescreen/protocol/agl-shell.xml
index 59548e7..5e31d98 100644
--- a/homescreen/protocol/agl-shell.xml
+++ b/homescreen/protocol/agl-shell.xml
@@ -96,5 +96,22 @@
<arg name="output" type="object" interface="wl_output"/>
<arg name="edge" type="uint" enum="edge"/>
</request>
+
+ <request name="activate_app">
+ <description summary="make client current window">
+ Asks the compositor to make a toplevel to become the current/focued
+ window for window management purposes.
+
+ See xdg_toplevel.set_app_id from the xdg-shell protocol for a
+ description app_id.
+
+ If multiple toplevels have the same app_id, the result is unspecified.
+
+ XXX: Do we need feedback to say it didn't work? (e.g. client does
+ not exist)
+ </description>
+ <arg name="app_id" type="string"/>
+ <arg name="output" type="object" interface="wl_output"/>
+ </request>
</interface>
</protocol>