derekf pushed a commit to branch master.

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

commit a04ee8e253ce44eaad25622f32e457923c4d0bf8
Author: Derek Foreman <[email protected]>
Date:   Tue Jun 28 14:15:31 2016 -0500

    Revert "Always clear the mirror image data pointer"
    
    This reverts commit 326d638ba274ba4623c4112a68250b47f7b250e1.
    
    This, for some reason, resulted in client surfaces being blacked out,
    despite only ever changing mirror surfaces.
---
 src/bin/e_comp_object.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 4f90b4c..9c28494 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -3799,8 +3799,9 @@ 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);
      }

-- 


Reply via email to