e_pixmap_size_get returns last attached buffer size (from commit
f009a9a4 )
eventhough it is destroyed, so check resource
Change-Id: Ie1a38be03ba6564e59a2dc54494f4de0920f49a1
API_ENTRY;
if (cw->external_content) return;
/* only actually dirty if pixmap is available */
+ if (!e_pixmap_resource_get(cw->ec->pixmap))
+ {
+ // e_pixmap_size_get returns last attached buffer size
+ // eventhough it is destroyed
+ ERR("ERROR NO PIXMAP FOR ec:%p", cw->ec);
+ return;
+ }
dirty = e_pixmap_size_get(cw->ec->pixmap, &w, &h);
visible = cw->visible;
if (!dirty) w = h = 1;