discomfitor pushed a commit to branch enlightenment-0.20.


commit 4ba7648c414cf31992cb76ac96d1862d8b4e2537
Author: Derek Foreman <der...@osg.samsung.com>
Date:   Fri Mar 4 15:08:07 2016 -0600

    Render deleted objects as long as they still have a pixmap
    In wayland we can be presented with a new frame before being deleted.  If
    we've never displayed that frame we should (since we released all pointers
    to the old frame when we got the new one)
 src/bin/e_comp_object.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c
index 43d4ed7..887a0f8 100644
--- a/src/bin/e_comp_object.c
+++ b/src/bin/e_comp_object.c
@@ -863,7 +863,7 @@ _e_comp_object_pixels_get(void *data, Evas_Object *obj 
    int pw, ph;
    int bx, by, bxx, byy;
-   if (e_object_is_del(E_OBJECT(ec))) return;
+   if (!ec->pixmap) return;
    if (!e_pixmap_size_get(ec->pixmap, &pw, &ph)) return;
    //INF("PIXEL GET %p: %dx%d || %dx%d", ec, ec->w, ec->h, pw, ph);
    e_pixmap_image_opaque_get(cw->ec->pixmap, &bx, &by, &bxx, &byy);


Reply via email to