weston/ivi-shell
Michael Tretter 266e2e1d48 ivi-shell: fix cleanup of desktop surfaces
The ivi-shell keeps track of its surfaces by adding them to the ivi_surface_list
to be able to remove them on shutdown. It also creates an ivi_layout_surface for
a desktop surface, but does not keep track of these surfaces.

During compositor shutdown, libweston prints the following message:

	BUG: finalizing a layer with views still on it.

Fix it by adding the created ivi_layout_surface to the ivi_surface_list to
remove the surfaces from the layer during shutdown.

Furthermore, remove the ivi_layout_surface from the desktop surface and free it
when the desktop surface is destroyed.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
2022-11-02 10:38:39 +01:00
..
hmi-controller.c hmi-controller: don't add surface to layer in mode_random_replace() 2022-09-29 11:08:55 +09:00
ivi-layout-export.h ivi-shell: remove dysfunctional link 2022-08-08 14:27:41 +00:00
ivi-layout-private.h ivi-shell: activate keyboard focus for xdg-shell surface 2022-09-29 11:08:55 +09:00
ivi-layout-shell.h ivi-shell: emit created notification earlier for desktop surfaces 2022-04-14 13:10:04 +00:00
ivi-layout-transition.c ivi-layout: use libweston-desktop api is to send configure events everywhere 2019-07-01 15:50:08 +00:00
ivi-layout.c ivi-layout: fix rectangle calculation by calc_inverse_matrix_transform() 2022-10-24 17:37:05 +03:00
ivi-shell.c ivi-shell: fix cleanup of desktop surfaces 2022-11-02 10:38:39 +01:00
ivi-shell.h libweston/desktop: Migrate libweston-desktop/libweston-desktop.h 2022-09-23 13:57:26 +03:00
meson.build Move libweston-desktop into libweston 2022-06-28 10:35:52 +00:00
weston.ini.in ivi-shell: bring back reference weston.ini 2021-06-04 12:40:12 +02:00