layout: Send dimensions when setting up property as fullscreen 15/27415/3
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 27 Apr 2022 12:44:58 +0000 (15:44 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Tue, 3 May 2022 06:56:40 +0000 (06:56 +0000)
commit13ac8bab43fffd002196d3a6760eefaa8944def2
treecfb2c7b11eb423b4fb8724fa6609c2035903c6c2
parent2cd345013ccaaccd74e61e6a14546bc861f8b5b1
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
src/desktop.c
src/ivi-compositor.h
src/layout.c
src/shell.c