Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
31e38208b4
commit
b10c0d91ab
|
@ -606,24 +606,24 @@ e_pixmap_image_clear(E_Pixmap *cp, Eina_Bool cache)
|
||||||
break;
|
break;
|
||||||
case E_PIXMAP_TYPE_WL:
|
case E_PIXMAP_TYPE_WL:
|
||||||
#if defined(HAVE_WAYLAND_CLIENTS) || defined(HAVE_WAYLAND_ONLY)
|
#if defined(HAVE_WAYLAND_CLIENTS) || defined(HAVE_WAYLAND_ONLY)
|
||||||
{
|
{
|
||||||
E_Comp_Wl_Client_Data *cd;
|
E_Comp_Wl_Client_Data *cd;
|
||||||
struct wl_resource *cb;
|
struct wl_resource *cb;
|
||||||
|
|
||||||
if ((!cp->client) || (!cp->client->comp_data)) return;
|
if ((!cp->client) || (!cp->client->comp_data)) return;
|
||||||
cd = (E_Comp_Wl_Client_Data*)cp->client->comp_data;
|
cd = (E_Comp_Wl_Client_Data*)cp->client->comp_data;
|
||||||
EINA_LIST_FREE(cd->frames, cb)
|
EINA_LIST_FREE(cd->frames, cb)
|
||||||
{
|
{
|
||||||
wl_callback_send_done(cb, (ecore_loop_time_get() * 1000));
|
wl_callback_send_done(cb, (ecore_loop_time_get() * 1000));
|
||||||
wl_resource_destroy(cb);
|
wl_resource_destroy(cb);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* post a buffer release */
|
/* post a buffer release */
|
||||||
/* TODO: FIXME: We need a way to determine if the client wants to
|
/* TODO: FIXME: We need a way to determine if the client wants to
|
||||||
* keep the buffer or not. If so, then we should Not be setting NULL
|
* keep the buffer or not. If so, then we should Not be setting NULL
|
||||||
* here as this will essentially release the buffer */
|
* here as this will essentially release the buffer */
|
||||||
e_comp_wl_buffer_reference(&cd->buffer_ref, NULL);
|
e_comp_wl_buffer_reference(&cd->buffer_ref, NULL);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue