if module calls the hwc presentation callback add api in
hide callback of evas, the hwc presentation callback add api
can return error.
but module wants to know that when window is hidden in display.
so this patch adds damage to canvas instead return error.
Change-Id: Ib0738204b4e22ca638d2a6fb26c7a87e3f94ccfe
hwc = hwc_window->hwc;
EINA_SAFETY_ON_NULL_RETURN_VAL(hwc, EINA_FALSE);
- if ((hwc_window->accepted_state == E_HWC_WINDOW_STATE_NONE) &&
- (!hwc_window->ec || !evas_object_visible_get(hwc_window->ec->frame)))
- {
- EHWERR("hwc_window is invisible on display", hwc_window->ec, hwc_window->hwc, hwc_window);
- return EINA_FALSE;
- }
+ if ((hwc_window->accepted_state == E_HWC_WINDOW_STATE_NONE) ||
+ (hwc_window->accepted_state == E_HWC_WINDOW_STATE_CLIENT))
+ e_hwc_windows_target_window_force_render(hwc->target_hwc_window);
if (!e_hwc_presentation_callback_list_set(&hwc_window->pending_presentation_callbacks, callback))
{