layout: Inform client to resize for fullscreen roles 32/27532/1
authorMarius Vlad <marius.vlad@collabora.com>
Mon, 2 May 2022 12:05:23 +0000 (15:05 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Thu, 26 May 2022 12:24:34 +0000 (15:24 +0300)
commitd0f00d6241ec12423472865f3adc56a4c31c2701
tree2c748a0adb44b4183882ae64dba56a361239a63b
parent26e72fa379d1b1c0c131cbc85e46d371c3d926ef
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
(cherry picked from commit 7a7b46bd7040b2814ad5f314818742bad990e93c)
src/ivi-compositor.h
src/layout.c