compositor: Fix loading nested X11/Wayland backends 98/29798/1
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 13:37:33 +0000 (15:37 +0200)
commit162451962f03e9a897ed489db4d1e54badf1dceb
treec788c6aeaf9534f28a85fe9e9bb8b0f1b0d6b579
parent4ac5ed108eef03f2f6f5dc4a411f1b1284863dd8
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: Ifbbfff67c75f98fe4ce84613674fb308880bf7e6
src/compositor.c