diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2018-02-12 14:59:09 -0600 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2018-04-20 13:00:28 -0500 |
commit | f73bc102016bed816e033dba177377a2688aa3c0 (patch) | |
tree | 31ef14d122710e798905aa9b3520699996016b89 /src/lib | |
parent | dbf65eb96a628f32facdfd5e97d154bf735447c7 (diff) |
ecore_wl2: Don't do anything but update alpha in alpha_set
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.
Diffstat (limited to '')
-rw-r--r-- | src/lib/ecore_wl2/ecore_wl2_window.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c index 44cd871431..555d4f6539 100644 --- a/src/lib/ecore_wl2/ecore_wl2_window.c +++ b/src/lib/ecore_wl2/ecore_wl2_window.c | |||
@@ -807,13 +807,6 @@ ecore_wl2_window_alpha_set(Ecore_Wl2_Window *window, Eina_Bool alpha) | |||
807 | surf = window->wl2_surface; | 807 | surf = window->wl2_surface; |
808 | if (surf) | 808 | if (surf) |
809 | ecore_wl2_surface_reconfigure(surf, surf->w, surf->h, 0, alpha); | 809 | ecore_wl2_surface_reconfigure(surf, surf->w, surf->h, 0, alpha); |
810 | |||
811 | if (!window->alpha) | ||
812 | ecore_wl2_window_opaque_region_set(window, window->opaque.x, | ||
813 | window->opaque.y, window->opaque.w, | ||
814 | window->opaque.h); | ||
815 | else | ||
816 | ecore_wl2_window_opaque_region_set(window, 0, 0, 0, 0); | ||
817 | } | 810 | } |
818 | 811 | ||
819 | EAPI void | 812 | EAPI void |