layout: Inform client to resize for fullscreen roles 23/27423/2
authorMarius Vlad <marius.vlad@collabora.com>
Mon, 2 May 2022 12:05:23 +0000 (15:05 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Tue, 3 May 2022 06:56:40 +0000 (06:56 +0000)
commit7a7b46bd7040b2814ad5f314818742bad990e93c
tree115dbb06f5ba30bc7b56f4547c056c169b51da10
parent13ac8bab43fffd002196d3a6760eefaa8944def2
layout: Inform client to resize for fullscreen roles

In a previous patch we optimized sending the dimensions from the start,
but in some situations the client might set up the surface roles
*after* that happens, which might lead to issue as we are explicitly
terminating the connection if the client wasn't correctly resized by
that time.

This corrects that such that even if we perform a late set-up for the
fullscreen role, we can still tell the client to resize, and later on to
display the surface.

Bug-AGL: SPEC-4339
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I491c60c9881e99bc3201216a842782417286f0d9
src/ivi-compositor.h
src/layout.c