summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2022-08-12 17:20:01 +0300
committerMarius Vlad <marius.vlad@collabora.com>2022-09-14 16:34:52 +0000
commitbb79d12c92fa6e860319c4c730d4c5c9e23932a2 (patch)
tree069e64fe629fd9dcdc8014582cddc22b57d67da2
parent3e72564852a6f34120311091d1208f61bcd641f4 (diff)
desktop: Include REMOTE role in initial configuration
The REMOTE role is identical to the DESKTOP one (its merely a tag), so it should go in the same category. Fixes 13ac8bab43fffd00. Bug-AGL: SPEC-4520 Reported-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Iddf7b5ba644cb7317c5f5ac6645c0f149ab1d05d
-rw-r--r--src/desktop.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/desktop.c b/src/desktop.c
index 1351508..c5981a7 100644
--- a/src/desktop.c
+++ b/src/desktop.c
@@ -128,7 +128,8 @@ desktop_surface_added_configure(struct ivi_surface *surface,
ivi_check_pending_surface_desktop(surface, &role);
if ((role != IVI_SURFACE_ROLE_DESKTOP &&
- role != IVI_SURFACE_ROLE_FULLSCREEN) ||
+ role != IVI_SURFACE_ROLE_FULLSCREEN &&
+ role != IVI_SURFACE_ROLE_REMOTE) ||
role == IVI_SURFACE_ROLE_NONE)
return;