shell: Do not set none role for applications w/o appid 33/27533/1
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 4 May 2022 08:12:54 +0000 (11:12 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Thu, 26 May 2022 12:24:38 +0000 (15:24 +0300)
commit0f98b6c74c79513294b4dd5acf8d1cafe4023304
tree4322a0f9b20f9ff1cd53c2da5c0c5f893f1dd79b
parentd0f00d6241ec12423472865f3adc56a4c31c2701
shell: Do not set none role for applications w/o appid

With commit 'layout: Send dimensions when setting up property as
fullscreen' we made so that fullscreen applications will receive the
configure event right from the beginning but that changed a bit the way
we handled applications that do not set-up an appid before doing the
initial wl_surface.commit.

Avoid doing that such that applications do not need to go through a
resize.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I91a9ab97ff5e30d3a86cda499d394c1a9fcde338
(cherry picked from commit 1304d412eb2bcefd4733539213ecb9b6ca39a605)
src/shell.c