Skip to content
Commit 042d02f4 authored by Wujian Sun's avatar Wujian Sun
Browse files

libweston-desktop: Fix weston crash when lost the shsurf



The shell_surface may disappear when keyboard lost focus,
then the shsurf will be NULL.
Have an ahead check for shsurf before calling the callback
in weston_desktop_surface_foreach_child.

Fixes #811

Tested-by: default avatarErkai Ji <erkai.ji@nxp.com>
Signed-off-by: default avatarWujian Sun <wujian.sun_1@nxp.com>
Signed-off-by: default avatarMarius Vlad <marius.vlad@collabora.com>
parent 31a9a483
Loading
Loading
Loading
Pipeline #1110882 passed with stages
in 7 minutes and 3 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment