Check content type instead of pixmap type 22/86322/1
authorMinJeong Kim <minjjj.kim@samsung.com>
Wed, 31 Aug 2016 12:42:01 +0000 (21:42 +0900)
committerMinJeong Kim <minjjj.kim@samsung.com>
Wed, 31 Aug 2016 12:42:01 +0000 (21:42 +0900)
Change-Id: I8a1e6251cfe35cc374aa1ebfd1cdad0de0d67af1

src/e_mod_effect.c

index 6e062fb..53ae5b6 100644 (file)
@@ -151,7 +151,7 @@ _e_mod_effect_ref(E_Client *ec)
    if (!efc) return EINA_FALSE;
 
    if (!ec->pixmap) return EINA_FALSE;
-   if ((e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_EXT_OBJECT) &&
+   if ((e_comp_object_content_type_get(ec->frame) == E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE) &&
        (!e_pixmap_usable_get(ec->pixmap)))
      return EINA_FALSE;