From 65fc5191f046ad8c7ba1bfd9e2e75afb925b4a21 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Fri, 20 Jan 2023 13:34:00 +0200 Subject: protocol/grpc-proxy: Add deactivate_app request This request will hide the currently active window, and activate either the background or the previously active window. This request mimics the agl-shell-desktop request, actually using the same code path. It only handles regular windows and float/pop-up. Once we add other roles like fullscreen/split we can improve on this. Bug-AGL: SPEC-4673 Signed-off-by: Marius Vlad Change-Id: I593cda5d008dfc32fe5e3b079fad9450dc1a490d --- protocol/agl-shell.xml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'protocol') diff --git a/protocol/agl-shell.xml b/protocol/agl-shell.xml index b8f219e..d3640f6 100644 --- a/protocol/agl-shell.xml +++ b/protocol/agl-shell.xml @@ -22,7 +22,7 @@ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - + Starting with version 2 of the protocol, the client is required to wait for the 'bound_ok' or 'bound_fail' events in order to proceed further. @@ -200,6 +200,23 @@ + + + + Ask the compositor to hide the toplevel window for window + management purposes. Depending on the window role, this request + will either display the previously active window (or the background + in case there's no previously active surface) or temporarily (or + until a 'activate_app' is called upon) hide the surface. + + All the surfaces are identifiable by using the app_id, and no actions + are taken in case the app_id is not/was not present. + + See xdg_toplevel.set_app_id from the xdg-shell protocol for a + description of app_id. + + + -- cgit 1.2.3-korg