devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=8df60cef9e7e7394bdda7ea777a8df11032157db

commit 8df60cef9e7e7394bdda7ea777a8df11032157db
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Sep 30 13:02:54 2015 -0400

    ecore-wl2: Check if a window is transparent or alpha when setting
    opaque region
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/lib/ecore_wl2/ecore_wl2_window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c 
b/src/lib/ecore_wl2/ecore_wl2_window.c
index 6b9a2ec..c69ea56 100644
--- a/src/lib/ecore_wl2/ecore_wl2_window.c
+++ b/src/lib/ecore_wl2/ecore_wl2_window.c
@@ -591,7 +591,7 @@ ecore_wl2_window_opaque_region_set(Ecore_Wl2_Window 
*window, int x, int y, int w
    window->opaque.w = w;
    window->opaque.h = h;
 
-   /* TODO: transparent or alpha check ? */
+   if ((window->transparent) || (window->alpha)) return;
 
    region = wl_compositor_create_region(window->display->wl.compositor);
    if (!region)

-- 


Reply via email to