diff options
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_window.c')
-rw-r--r-- | src/lib/ecore_wl2/ecore_wl2_window.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c index 0e1cddb8bf..655d587bf5 100644 --- a/src/lib/ecore_wl2/ecore_wl2_window.c +++ b/src/lib/ecore_wl2/ecore_wl2_window.c | |||
@@ -812,23 +812,6 @@ ecore_wl2_window_alpha_set(Ecore_Wl2_Window *window, Eina_Bool alpha) | |||
812 | } | 812 | } |
813 | 813 | ||
814 | EAPI void | 814 | EAPI void |
815 | ecore_wl2_window_transparent_set(Ecore_Wl2_Window *window, Eina_Bool transparent) | ||
816 | { | ||
817 | EINA_SAFETY_ON_NULL_RETURN(window); | ||
818 | |||
819 | if (window->transparent == transparent) return; | ||
820 | |||
821 | window->transparent = transparent; | ||
822 | |||
823 | if (!window->transparent) | ||
824 | ecore_wl2_window_opaque_region_set(window, window->opaque.x, | ||
825 | window->opaque.y, window->opaque.w, | ||
826 | window->opaque.h); | ||
827 | else | ||
828 | ecore_wl2_window_opaque_region_set(window, 0, 0, 0, 0); | ||
829 | } | ||
830 | |||
831 | EAPI void | ||
832 | ecore_wl2_window_opaque_region_set(Ecore_Wl2_Window *window, int x, int y, int w, int h) | 815 | ecore_wl2_window_opaque_region_set(Ecore_Wl2_Window *window, int x, int y, int w, int h) |
833 | { | 816 | { |
834 | int nx = 0, ny = 0, nw = 0, nh = 0; | 817 | int nx = 0, ny = 0, nw = 0, nh = 0; |