agl-shell-desktop: Add the ability to hide client windows 01/24401/3
authorMarius Vlad <marius.vlad@collabora.com>
Mon, 6 Apr 2020 19:30:55 +0000 (22:30 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Tue, 12 May 2020 18:56:35 +0000 (21:56 +0300)
commitd0b4585202c46be21b415c664b9d010057c37686
tree6be0a37532ed10562c7da081abd6b4b5ef3a787d
parent410d47884ffedce08a987b948429d9d13bc4f551
agl-shell-desktop: Add the ability to hide client windows

This would be particularly useful to pop-up kind of window(s).

It implements the 'deactivate_app' request. For the pop-up role we
just remove the view from the layer while for the desktop we store
the previous surface and re-use it if that's set. Otherwise we just
display the background surface.

As we now allow to hide client windows, we need to able to activate/show
them back so this also adds a slight modification to take care to handle
the pop-up role separately when calling the 'activate_app' request.

Bug-AGL: SPEC-3269

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Iec5ccbe2815f4b0e32086fd49856f5f338147f79
protocol/agl-shell-desktop.xml
src/ivi-compositor.h
src/layout.c
src/shell.c