summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorkabeer khan <kabeer.khan@samsung.com>2015-01-09 13:23:55 -0500
committerChris Michael <cp.michael@samsung.com>2015-01-09 13:24:03 -0500
commit9bf76ddc8aee259da86506087c8743b51c27bdcd (patch)
tree8fa5b5d7a0c5d2d00397aab52115059bf237126d /src/modules
parent5abb6e7751b6985efc9ef11fb5967ef5dbfb4c8d (diff)
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
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
index e6b78189ad..dc3428bf58 100644
--- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
+++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
@@ -183,7 +183,10 @@ ecore_evas_wayland_egl_new_internal(const char *disp_name, unsigned int parent,
183 } 183 }
184 184
185 if (parent) 185 if (parent)
186 p = ecore_wl_window_find(parent); 186 {
187 p = ecore_wl_window_find(parent);
188 ee->alpha = ecore_wl_window_alpha_get(p);
189 }
187 190
188 wdata->parent = p; 191 wdata->parent = p;
189 wdata->win = 192 wdata->win =
@@ -205,8 +208,6 @@ ecore_evas_wayland_egl_new_internal(const char *disp_name, unsigned int parent,
205 if (ee->prop.draw_frame) 208 if (ee->prop.draw_frame)
206 evas_output_framespace_set(ee->evas, fx, fy, fw, fh); 209 evas_output_framespace_set(ee->evas, fx, fy, fw, fh);
207 210
208 /* FIXME: Get if parent is alpha, and set */
209
210 if ((einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas))) 211 if ((einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas)))
211 { 212 {
212 einfo->info.display = ecore_wl_display_get(); 213 einfo->info.display = ecore_wl_display_get();