devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9bf76ddc8aee259da86506087c8743b51c27bdcd

commit 9bf76ddc8aee259da86506087c8743b51c27bdcd
Author: kabeer khan <kabeer.k...@samsung.com>
Date:   Fri Jan 9 13:23:55 2015 -0500

    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.k...@samsung.com>
    
    Reviewers: devilhorns
    
    Reviewed By: devilhorns
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D1861
---
 src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c | 7 ++++---
 1 file 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 e6b7818..dc3428b 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,
      }
 
    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();

-- 


Reply via email to