layout, desktop: Treat the remote surface role like the desktop one 55/24655/1
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 29 May 2020 18:29:41 +0000 (21:29 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Mon, 8 Jun 2020 20:18:25 +0000 (23:18 +0300)
commit9cf6c3f183f56f47f9a32b747dd70dfde235cc49
tree1f3fd73e623244acb52ac1b26e067164239fd7b9
parent90fd86850e4a96367962b840c7c53435caa94898
layout, desktop: Treat the remote surface role like the desktop one

Necessary changes so that we can handle the remote surface just like the
regular desktop one. We use the same code when committing the surface
but modify the completion part to only modify the pending output as to
avoid remote surfaces interfering with the enum representing each
surface type.

Bug-AGL: SPEC-3280

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ied770c8fd8cd7021a7efb5cf07bc44ab2cf93cce
src/desktop.c
src/layout.c