protocol/grpc-proxy: Add deactivate_app request 63/28463/2
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 20 Jan 2023 11:34:00 +0000 (13:34 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 1 Mar 2023 10:38:14 +0000 (12:38 +0200)
commit65fc5191f046ad8c7ba1bfd9e2e75afb925b4a21
tree447de644e8e288ade0c9da629efb15a4cb8a408f
parent28ec0cff16d62260fb1a5900f57353f48446e199
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 <marius.vlad@collabora.com>
Change-Id: I593cda5d008dfc32fe5e3b079fad9450dc1a490d
grpc-proxy/main-grpc.cpp
grpc-proxy/shell.cpp
protocol/agl-shell.xml
src/shell.c