raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=94a15856bd7fc704d6809e50166fe9606c18cde5

commit 94a15856bd7fc704d6809e50166fe9606c18cde5
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Sat Jul 18 23:39:46 2015 +0900

    e - unbreak client pixmaps when native surf is used
    
    this unbreaks disappearing client content introduced by
    5a001b1759445c1461341c7d1e069ac74e411f04.
---
 src/bin/e_comp_object.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

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;
 }

-- 


Reply via email to