#if defined(HAVE_WAYLAND_CLIENTS) || defined(HAVE_WAYLAND_ONLY)
if (cp->resource)
{
- _e_pixmap_resource_free(cp->resource);
- cp->resource = NULL;
e_pixmap_image_clear(cp, cache);
}
#endif
if (cp->client)
{
cd = (E_Comp_X_Client_Data*)cp->client->comp_data;
- e_comp_object_native_surface_set(cp->client->frame, 0);
}
success = !!pixmap;
if (!success) break;
if (cp->client)
{
cd = (E_Comp_Wl_Client_Data *)cp->client->comp_data;
- e_comp_object_native_surface_set(cp->client->frame, 0);
res = cd->pending.buffer;
/* pw = cp->client->client.w; */
/* ph = cp->client->client.h; */