There was a bug that the window was not captured when it was unmapped.
This fixes it.
Change-Id: I93976058115d74ff7cfcf56a60bc432b87100311
}
}
+ if (!buffer)
+ {
+ if (ec->comp_data->mapped)
+ {
+ /* will be unmapped. so run capture */
+ e_comp_wl_remote_surface_image_save(ec);
+ }
+ }
+
_e_comp_wl_surface_state_buffer_set(&ec->comp_data->pending, buffer);
ec->comp_data->pending.sx = sx;
tbm_surface_h tbm_surface;
if (!(ec = ecc->ec)) return E_CAPTURE_SAVE_STATE_INVALID;
- if (!(buffer = e_pixmap_resource_get(ec->pixmap))) return E_CAPTURE_SAVE_STATE_INVALID;
-
if (ecc->th)
{
CAPDBG("ALREADY doing capture", ecc->ec, "ECC", ecc);
return E_CAPTURE_SAVE_STATE_BUSY;
}
+ if (!(buffer = e_pixmap_resource_get(ec->pixmap))) return E_CAPTURE_SAVE_STATE_INVALID;
td = E_NEW(Thread_Data, 1);
if (!td) return E_CAPTURE_SAVE_STATE_INVALID;