forked from enlightenment/enlightenment
check if client is getting destroyed before we try to unmap it.
NB: This is done for wayland clients where e_client delete function has already freed the client wl_comp_data Before we get a shell surface destroy message from wayland. (occurs due to async nature). Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
5b581d88c3
commit
581975d255
|
@ -77,6 +77,8 @@ _e_shell_surface_cb_destroy(struct wl_resource *resource)
|
|||
/* get the client for this resource */
|
||||
if ((ec = wl_resource_get_user_data(resource)))
|
||||
{
|
||||
if (e_object_is_del(E_OBJECT(ec))) return;
|
||||
|
||||
if (ec->wl_comp_data)
|
||||
{
|
||||
if (ec->wl_comp_data->mapped)
|
||||
|
|
Loading…
Reference in New Issue