diff options
author | Chris Michael <cp.michael@samsung.com> | 2014-08-11 09:35:14 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2014-08-13 10:22:53 -0400 |
commit | adc9a3d95cfc918f96d25d077d474527a008f1c4 (patch) | |
tree | 0ad52b2037c6de1b71007e8ba7c38ab84e6dd6b1 | |
parent | 1603e525d64a98f3e4bed3934c45bdcd40db23f3 (diff) | |
download | enlightenment-devs/discomfitor/wl2.tar.gz |
Fix formattingdevs/discomfitor/wl2
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r-- | src/bin/e_pixmap.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c index 6bb95c35f1..3b900daf60 100644 --- a/src/bin/e_pixmap.c +++ b/src/bin/e_pixmap.c @@ -607,24 +607,24 @@ e_pixmap_image_clear(E_Pixmap *cp, Eina_Bool cache) break; case E_PIXMAP_TYPE_WL: #if defined(HAVE_WAYLAND_CLIENTS) || defined(HAVE_WAYLAND_ONLY) - { - E_Comp_Wl_Client_Data *cd; - struct wl_resource *cb; - - if ((!cp->client) || (!cp->client->comp_data)) return; - cd = (E_Comp_Wl_Client_Data*)cp->client->comp_data; - EINA_LIST_FREE(cd->frames, cb) - { - wl_callback_send_done(cb, (ecore_loop_time_get() * 1000)); - wl_resource_destroy(cb); - } - - /* post a buffer release */ - /* 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 - * here as this will essentially release the buffer */ - e_comp_wl_buffer_reference(&cd->buffer_ref, NULL); - } + { + E_Comp_Wl_Client_Data *cd; + struct wl_resource *cb; + + if ((!cp->client) || (!cp->client->comp_data)) return; + cd = (E_Comp_Wl_Client_Data*)cp->client->comp_data; + EINA_LIST_FREE(cd->frames, cb) + { + wl_callback_send_done(cb, (ecore_loop_time_get() * 1000)); + wl_resource_destroy(cb); + } + + /* post a buffer release */ + /* 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 + * here as this will essentially release the buffer */ + e_comp_wl_buffer_reference(&cd->buffer_ref, NULL); + } #endif break; default: |