diff options
author | Derek Foreman <derekf@osg.samsung.com> | 2018-02-08 11:56:30 -0600 |
---|---|---|
committer | Derek Foreman <derekf@osg.samsung.com> | 2018-04-20 13:00:27 -0500 |
commit | 6da0933d60fba481c063703c21398dda8b79a90f (patch) | |
tree | d634c01b019382a2479256a02db50edadb6fa5b1 /src/lib/ecore_wl2/ecore_wl2_surface.c | |
parent | d85e96006050427dce2ea4bc9e1677652e9a7842 (diff) |
ecore_wl2: Add alpha to reconfigure
Currently we only ever make wayland windows with alpha, this is a step
towards changing that.
Diffstat (limited to 'src/lib/ecore_wl2/ecore_wl2_surface.c')
-rw-r--r-- | src/lib/ecore_wl2/ecore_wl2_surface.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/ecore_wl2/ecore_wl2_surface.c b/src/lib/ecore_wl2/ecore_wl2_surface.c index 9e7512d090..8720af0b76 100644 --- a/src/lib/ecore_wl2/ecore_wl2_surface.c +++ b/src/lib/ecore_wl2/ecore_wl2_surface.c | |||
@@ -27,13 +27,14 @@ ecore_wl2_surface_destroy(Ecore_Wl2_Surface *surface) | |||
27 | } | 27 | } |
28 | 28 | ||
29 | EAPI void | 29 | EAPI void |
30 | ecore_wl2_surface_reconfigure(Ecore_Wl2_Surface *surface, int w, int h, uint32_t flags) | 30 | ecore_wl2_surface_reconfigure(Ecore_Wl2_Surface *surface, int w, int h, uint32_t flags, Eina_Bool alpha) |
31 | { | 31 | { |
32 | EINA_SAFETY_ON_NULL_RETURN(surface); | 32 | EINA_SAFETY_ON_NULL_RETURN(surface); |
33 | 33 | ||
34 | surface->funcs->reconfigure(surface, surface->private_data, w, h, flags); | 34 | surface->funcs->reconfigure(surface, surface->private_data, w, h, flags, alpha); |
35 | surface->w = w; | 35 | surface->w = w; |
36 | surface->h = h; | 36 | surface->h = h; |
37 | surface->alpha = alpha; | ||
37 | } | 38 | } |
38 | 39 | ||
39 | EAPI void * | 40 | EAPI void * |