layout, desktop: Treat the remote surface role like the desktop one 55/24655/2
authorMarius Vlad <marius.vlad@collabora.com>
Fri, 29 May 2020 18:29:41 +0000 (21:29 +0300)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Sun, 14 Jun 2020 13:15:42 +0000 (13:15 +0000)
commitf88d870a4b6bd69460ddbb11c03c3a61b64da5cb
tree1f3fd73e623244acb52ac1b26e067164239fd7b9
parent226f4ca4f760ddbbc7566630a9e21c457d70a4eb
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