Change-Id: I20b3e84171763809e4f37759f550c6b836e78ff8
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
}
cw->external_content = EINA_FALSE;
+ if (cw->ec->is_cursor)
+ {
+ int pw, ph;
+ DBG("%p is cursor surface..", cw->ec);
+ if (!e_pixmap_size_get(cw->ec->pixmap, &pw, &ph))
+ pw = ph = 1;
+ evas_object_resize(cw->ec->frame, pw, ph);
+ evas_object_hide(cw->ec->frame);
+ return EINA_TRUE;
+ }
+
cw->content_type = E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE;
cw->obj = evas_object_image_filled_add(e_comp->evas);
if (!(ec = wl_resource_get_user_data(resource))) return;
if (e_object_is_del(E_OBJECT(ec))) return;
+ //if cursor ec have external content
+ e_comp_object_content_unset(ec->frame);
+
if (!e_comp_wl->ptr.ec || !e_comp_wl->ptr.ec->comp_data || !e_comp_wl->ptr.ec->comp_data->surface) return;
wc = wl_resource_get_client(resource);
if (wc != wl_resource_get_client(e_comp_wl->ptr.ec->comp_data->surface)) return;