From 06a132b50d2572e6b8cb21195f71ce26dea8033e Mon Sep 17 00:00:00 2001 From: Juyeon Lee Date: Mon, 7 Jan 2019 14:19:13 +0900 Subject: [PATCH] e_mod_effect: use e_comp_object_native_usable_get instaed of using e_pixmap_usable_get since tizen 5.0, efl client used to attach NULL buffer when hide, if null buffer, server unmap the client and its pixmap is unusalbe. To run hide effect, use e_comp_object_is_native_drawable checks if cw has native sruface Change-Id: I62a47adbab6132d236c370ad3d16dc85eb73bed4 Signed-off-by: Juyeon Lee --- src/e_mod_effect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/e_mod_effect.c b/src/e_mod_effect.c index 07da8e6..25b5a94 100644 --- a/src/e_mod_effect.c +++ b/src/e_mod_effect.c @@ -841,7 +841,7 @@ _eff_ref(E_Client *ec) if (!ec->pixmap) return EINA_FALSE; if ((e_comp_object_content_type_get(ec->frame) == E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE) && - (!e_pixmap_usable_get(ec->pixmap))) + (!e_comp_object_native_usable_get(ec->frame))) return EINA_FALSE; if (e_object_is_del(E_OBJECT(ec))) -- 2.7.4