copy_thread_data->src_tsurface);
if (!(ec = copy_thread_data->hwc_window->ec)) goto end;
+ if (!e_client_cdata_get(ec)) goto end;
if ((!evas_object_visible_get(ec->frame)) &&
(ec->exp_iconify.buffer_flush) &&
goto end;
comp_buffer = _comp_wl_buffer_get(ec);
- if (!comp_buffer) goto end;
- if (!comp_buffer->tbm_surface) goto end;
- if (comp_buffer->tbm_surface != copy_thread_data->src_tsurface) goto end;
+ if (comp_buffer)
+ {
+ if (!comp_buffer->tbm_surface) goto end;
+ if (comp_buffer->tbm_surface != copy_thread_data->src_tsurface) goto end;
+ }
copy_comp_buffer = e_comp_wl_tbm_buffer_get(copy_thread_data->dst_tsurface);
EINA_SAFETY_ON_NULL_GOTO(copy_comp_buffer, end);
e_comp_object_dirty(ec->frame);
e_comp_object_render(ec->frame);
+ if (!comp_buffer)
+ e_comp_wl_surface_attach(ec, NULL);
+
end:
_e_hwc_window_queue_copy_thread_data_destroy(copy_thread_data);