weston/kiosk-shell
Sergio Gómez d53efc6cc3 kiosk-shell: Distinguish between 'destroy_signal' and 'parent_destroy_signal'
Currently, the 'parent_destroy_listener' is being paired with
'destroy_signal'. The signal is emitted from kiosk_shell_surface_destroy(),
which is the appropriate place to emit this general-purpose surface destruction
signal.

However, we need to inform the children of the surface destruction before
finding the focus successor and activating it, that is, before calling
find_focus_successor() and kiosk_shell_surface_activate(), which happen before
kiosk_shell_surface_destroy().
Since there are currently other uses for 'destroy_signal' (e.g. in
kiosk-shell-grab.c), don't mess with it and simply add a new
'parent_destroy_signal', placing its emition where we need it.

Signed-off-by: Sergio Gómez <sergio.g.delreal@gmail.com>
2023-07-27 10:13:48 +03:00
..
kiosk-shell-grab.c kiosk-shell: Use weston_coord for grabs 2023-06-19 13:09:03 +00:00
kiosk-shell-grab.h kiosk-shell: Introduce kiosk/fullscreen shell for desktop apps 2020-07-30 14:38:49 +00:00
kiosk-shell.c kiosk-shell: Distinguish between 'destroy_signal' and 'parent_destroy_signal' 2023-07-27 10:13:48 +03:00
kiosk-shell.h kiosk-shell: Distinguish between 'destroy_signal' and 'parent_destroy_signal' 2023-07-27 10:13:48 +03:00
meson.build shell-utils: Integrate shell-utils into libweston 2023-01-09 22:13:07 +00:00