src/ Adding remote surface role sandbox/mvlad/appids-per-output
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 20 May 2020 22:29:37 +0000 (01:29 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Mon, 25 May 2020 11:39:41 +0000 (14:39 +0300)
commit353064abff83403f8a6e46f0469c4dc07b648534
treeb57cac83479565ed3c032d4fb5fbaf94657c0d58
parent056e977e85cc40774a82659819ccb455056fbb39
src/ Adding remote surface role

This patch adds the 'remote' surface role, which clients can make use of
to hint the compositor that is should place the surface on other
output.

While both private extension protocols explicitly require to provide an
wl_output when activating or when setting surface roles, we still need
the inform the compositor that the surface should be placed on another
output. This is due to the activate_by_default functionality that
requires having an output being present, with the default regular XDG
desktop roles deriving its own output by using output of the backgound
surface role.

Just like pop-up dialog role and split surface role this patch adds
another temporary hold up place before the surface is actually created.
Once that is done the surface role will be re-assigned to the desktop
role (being no difference whatsoever between them).

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