From 4ba7648c414cf31992cb76ac96d1862d8b4e2537 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Fri, 4 Mar 2016 15:08:07 -0600 Subject: [PATCH] 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 43d4ed774..887a0f85e 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 EINA_UNUSED) 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);