summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2016-10-31 14:22:03 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2016-11-18 11:34:00 -0500
commitd7527eb7a2631b6ee3aa27036f627b08d9064255 (patch)
tree1c26751d09815550b89104ecac7b209d853296f2
parent1205dff03c4f542b87ec3a2f3d3b2e085f26ffb2 (diff)
check if a client is internal or not before deleting
This fixes a crash where mousing back into internal windows would cause a crash (from efl wayland mouse pointers). Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/bin/e_comp_wl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index 1f30ce602..6ab81703f 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -1754,7 +1754,7 @@ _e_comp_wl_surface_destroy(struct wl_resource *resource)
1754 if (!(ec = wl_resource_get_user_data(resource))) return; 1754 if (!(ec = wl_resource_get_user_data(resource))) return;
1755 1755
1756 e_pixmap_alias(ec->pixmap, E_PIXMAP_TYPE_WL, wl_resource_get_id(resource)); 1756 e_pixmap_alias(ec->pixmap, E_PIXMAP_TYPE_WL, wl_resource_get_id(resource));
1757 e_object_del(E_OBJECT(ec)); 1757 if (!ec->internal) e_object_del(E_OBJECT(ec));
1758 evas_object_hide(ec->frame); 1758 evas_object_hide(ec->frame);
1759} 1759}
1760 1760