layout: Send dimensions when setting up property as fullscreen 31/27531/1
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 27 Apr 2022 12:44:58 +0000 (15:44 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Thu, 26 May 2022 12:24:00 +0000 (15:24 +0300)
commit26e72fa379d1b1c0c131cbc85e46d371c3d926ef
treef9d92d00bc801746efece295ddb98e2fa467d958
parentd4121c4f1b84e23789562d0ab0035754d7910bb3
layout: Send dimensions when setting up property as fullscreen

Instead of doing it at commit time, do it right after getting the xdg
toplevel surface such that clients can use it from the beginning.

This now includes fullscreen, besides regular desktop roles, and it
avoid mapping the fullscreen upon commit if the dimensions do not really
match up.

Bug-AGL: SPEC-4339
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I7185b10770c69d1d6572b0bc025c4a58fe431c67
(cherry picked from commit 13ac8bab43fffd002196d3a6760eefaa8944def2)
src/desktop.c
src/ivi-compositor.h
src/layout.c
src/shell.c