diff options
Diffstat (limited to 'src/bin/e_comp_object.c')
-rw-r--r-- | src/bin/e_comp_object.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/bin/e_comp_object.c b/src/bin/e_comp_object.c index c8d01eab72..4a1fd8cd75 100644 --- a/src/bin/e_comp_object.c +++ b/src/bin/e_comp_object.c @@ -1208,7 +1208,7 @@ _e_comp_intercept_show_helper(E_Comp_Object *cw) return; } e_pixmap_size_get(cw->ec->pixmap, &pw, &ph); - if ((!e_pixmap_refresh(cw->ec->pixmap)) || (!e_pixmap_size_get(cw->ec->pixmap, &w, &h))) + if (!e_pixmap_size_get(cw->ec->pixmap, &w, &h)) e_pixmap_clear(cw->ec->pixmap); if (cw->real_hid && w && h) @@ -2756,12 +2756,18 @@ e_comp_object_damage(Evas_Object *obj, int x, int y, int w, int h) e_comp_object_render_update_add(obj); } +EAPI Eina_Bool +e_comp_object_damage_exists(Evas_Object *obj) +{ + API_ENTRY EINA_FALSE; + return cw->updates_exist; +} + EAPI void e_comp_object_render_update_add(Evas_Object *obj) { API_ENTRY; - EINA_SAFETY_ON_NULL_RETURN(cw->ec); if (cw->ec->input_only || (!cw->updates)) return; if (e_object_is_del(E_OBJECT(cw->ec))) CRI("CAN'T RENDER A DELETED CLIENT!"); |