From 326d638ba274ba4623c4112a68250b47f7b250e1 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Tue, 21 Jun 2016 15:06:03 -0500 Subject: [PATCH] Always clear the mirror image data pointer Under wayland evas will sometimes use the old one, I have no idea why. Fixes a crash bug when mousing out of menus in a GTK app under wayland. fix T3576 --- src/bin/e_comp_object.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index 9b4e148d1..b09d5222f 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -3798,9 +3798,8 @@ e_comp_object_dirty(Evas_Object *obj) { //evas_object_image_border_set(o, bx, by, bxx, byy); //evas_object_image_border_center_fill_set(o, EVAS_BORDER_FILL_SOLID); + evas_object_image_data_set(o, NULL); evas_object_image_pixels_dirty_set(o, dirty); - if (!dirty) - evas_object_image_data_set(o, NULL); evas_object_image_size_set(o, w, h); visible |= evas_object_visible_get(o); }