ecore_wl2: Don't do anything but update alpha in alpha_set
authorDerek Foreman <derekf@osg.samsung.com>
Mon, 12 Feb 2018 20:59:09 +0000 (14:59 -0600)
committerJiyoun Park <jy0703.park@samsung.com>
Tue, 26 Jun 2018 04:20:39 +0000 (13:20 +0900)
This is now done in ecore_evas where it should be.  alpha_set now does
only what its name claims it does - sets whether a surface has an alpha
channel or not.

Change-Id: I8c6dc82404e417318d1c41e9f3d466e14cb951a7

src/lib/ecore_wl2/ecore_wl2_window.c

index e557b4f..eeb46ac 100644 (file)
@@ -1510,15 +1510,11 @@ ecore_wl2_window_alpha_set(Ecore_Wl2_Window *window, Eina_Bool alpha)
    if (surf)
      ecore_wl2_surface_reconfigure(surf, surf->w, surf->h, 0, alpha);
 
+// TIZEN_ONLY(20170203)
    if (!window->alpha)
      ecore_wl2_window_opaque_region_set(window, window->opaque.x,
                                         window->opaque.y, window->opaque.w,
                                         window->opaque.h);
-// TIZEN_ONLY(20170203)
-/*
-   else
-     ecore_wl2_window_opaque_region_set(window, 0, 0, 0, 0);
-*/
    else if (window->surface)
      wl_surface_set_opaque_region(window->surface, NULL);
 //