desktop: Avoid referencing the output's surface for pending surfaces 33/24833/1
authorMarius Vlad <marius.vlad@collabora.com>
Wed, 24 Jun 2020 13:01:36 +0000 (16:01 +0300)
committerMarius Vlad <marius.vlad@collabora.com>
Wed, 24 Jun 2020 14:31:25 +0000 (17:31 +0300)
commit9827cfd255780640650f7c9667daa7802dc1bb34
tree737b549c49de6623416ee247b9761519c6239349
parent06773d6abdc06e0d887729da39259524bd772c44
desktop: Avoid referencing the output's surface for pending surfaces

Pending surfaces will only get a valid role when the client shell sends
out ready() request to start presenting. Corner-case would be that
pending surface is destroyed, moment in which we realise we never set-up
an output. This is corner-case and treat as is.

Bug-AGL: SPEC-3448

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I2eb9c937878fb6af56f3fbcf0d5da10a8003f634
src/desktop.c