summaryrefslogtreecommitdiff
path: root/src/bin/e_pixmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/e_pixmap.c')
-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: