compositor: Fix loading nested X11/Wayland backends sandbox/mvlad/next-phase-fix-next
authorMarius Vlad <marius.vlad@collabora.com>
Thu, 28 Mar 2024 11:55:06 +0000 (13:55 +0200)
committerMarius Vlad <marius.vlad@collabora.com>
Thu, 28 Mar 2024 12:40:56 +0000 (14:40 +0200)
commit35f6b047373cf5b42ff2d5a11753fcb5c55475b0
treec788c6aeaf9534f28a85fe9e9bb8b0f1b0d6b579
parent3514c203c2781bc02cc29c7a57ff30b2b4d9434c
compositor: Fix loading nested X11/Wayland backends

The AGL compositor frontend uses ivi_output to denote an output and pass
it around, with the implication that's available on retrieval later on.
In order for that to actually work, and by the mechanism we are
retriving it we need to install a destruction handler a bit earlier,
such that is available.

Bug-AGL: SPEC-5096, SPEC-5061
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I7e5ff1ef72c6c7ab09fc4a252672141879d0a9b2
src/compositor.c