From: Carsten Haitzler (Rasterman) Date: Sat, 18 Jul 2015 14:39:46 +0000 (+0900) Subject: e - unbreak client pixmaps when native surf is used X-Git-Tag: upstream/0.20.0~546 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94a15856bd7fc704d6809e50166fe9606c18cde5;p=platform%2Fupstream%2Fenlightenment.git e - unbreak client pixmaps when native surf is used this unbreaks disappearing client content introduced by 5a001b1759445c1461341c7d1e069ac74e411f04. --- diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index ae9218a..81b1768 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -3576,7 +3576,8 @@ e_comp_object_util_mirror_add(Evas_Object *obj) pix = evas_object_image_data_get(cw->obj, EINA_FALSE); } } - { + if (pix) + { Eina_Bool dirty; //int bx, by, bxx, byy; @@ -3589,11 +3590,11 @@ e_comp_object_util_mirror_add(Evas_Object *obj) //bx = by = bxx = byy = 0; //evas_object_image_border_set(o, bx, by, bxx, byy); //evas_object_image_border_center_fill_set(o, EVAS_BORDER_FILL_SOLID); - if (dirty) - evas_object_image_data_update_add(o, 0, 0, w, h); evas_object_image_data_set(o, pix); if (!argb) evas_object_image_data_set(cw->obj, pix); + if (dirty) + evas_object_image_data_update_add(o, 0, 0, w, h); } return o; }