summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2015-02-26 11:11:11 -0500
committerChris Michael <cp.michael@samsung.com>2015-02-26 11:11:11 -0500
commit21e88a4e0b85171bd36f22f4c8045d91d0a0958a (patch)
tree5eda863100d6185bd0ace77d5d831dda71064b79
parent662c9a2c234f96a9de91073ee86a6ade092d2d15 (diff)
send frame_done callback when pixmap_image_clear is calleddevs/devilhorns/wl_buffer
Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/bin/e_pixmap.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c
index 9c75e09d5..dbefc9971 100644
--- a/src/bin/e_pixmap.c
+++ b/src/bin/e_pixmap.c
@@ -632,6 +632,19 @@ e_pixmap_image_clear(E_Pixmap *cp, Eina_Bool cache)
632 break; 632 break;
633 case E_PIXMAP_TYPE_WL: 633 case E_PIXMAP_TYPE_WL:
634#if defined(HAVE_WAYLAND_CLIENTS) || defined(HAVE_WAYLAND_ONLY) 634#if defined(HAVE_WAYLAND_CLIENTS) || defined(HAVE_WAYLAND_ONLY)
635 if (cache)
636 {
637 E_Comp_Wl_Client_Data *cd;
638 struct wl_resource *cb;
639
640 if ((!cp->client) || (!cp->client->comp_data)) return;
641 cd = (E_Comp_Wl_Client_Data *)cp->client->comp_data;
642 EINA_LIST_FREE(cd->frames, cb)
643 {
644 wl_callback_send_done(cb, ecore_time_unix_get());
645 wl_resource_destroy(cb);
646 }
647 }
635#endif 648#endif
636 break; 649 break;
637 default: 650 default: