weston/desktop-shell
Marius Vlad a27658e981 desktop-shell: Do not try to add a child to a non-existent parent
Introduced with a8da2084, it seems that there are cases when there's no
parent available (zenity, for instance).

Removes any potential child and re-initialize it, in case the parent is
not set. (Simon Ser)

Fixes: #340

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
Reported-by: n3rdopolis <bluescreenavenger@gmail.com>
2020-01-17 12:47:32 +02:00
..
exposay.c libweston: Use struct timespec for key events 2017-11-27 11:42:07 +02:00
input-panel.c libweston: make wl_output point to weston_head 2018-04-10 14:33:59 +03:00
meson.build Link Weston plugins to libexec-weston.so 2019-10-24 13:40:51 +03:00
shell.c desktop-shell: Do not try to add a child to a non-existent parent 2020-01-17 12:47:32 +02:00
shell.h Rename xwayland-api.h to libweston/xwayland-api.h 2019-04-18 12:31:46 +03:00