forked from enlightenment/efl
ecore_evas/wayland_egl: Set alpha of ecore_evas object if parent alpha is set
Summary: Resolved FIXME ecore_evas_wayland_egl_new_internal to set alpha if parent alpha is set @fix Signed-off-by: kabeer khan <kabeer.khan@samsung.com> Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1861
This commit is contained in:
parent
5abb6e7751
commit
9bf76ddc8a
|
@ -183,7 +183,10 @@ ecore_evas_wayland_egl_new_internal(const char *disp_name, unsigned int parent,
|
|||
}
|
||||
|
||||
if (parent)
|
||||
p = ecore_wl_window_find(parent);
|
||||
{
|
||||
p = ecore_wl_window_find(parent);
|
||||
ee->alpha = ecore_wl_window_alpha_get(p);
|
||||
}
|
||||
|
||||
wdata->parent = p;
|
||||
wdata->win =
|
||||
|
@ -205,8 +208,6 @@ ecore_evas_wayland_egl_new_internal(const char *disp_name, unsigned int parent,
|
|||
if (ee->prop.draw_frame)
|
||||
evas_output_framespace_set(ee->evas, fx, fy, fw, fh);
|
||||
|
||||
/* FIXME: Get if parent is alpha, and set */
|
||||
|
||||
if ((einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas)))
|
||||
{
|
||||
einfo->info.display = ecore_wl_display_get();
|
||||
|
|
Loading…
Reference in New Issue