forked from enlightenment/efl
ecore_evas/wayland_egl: Call ecore_wl_window_transparent_set.
It must be called on EGL, otherwise it definitely won't work.
This commit is contained in:
parent
78d42bcb62
commit
67179b4a71
|
@ -450,12 +450,18 @@ static void
|
|||
_ecore_evas_wl_transparent_set(Ecore_Evas *ee, int transparent)
|
||||
{
|
||||
Evas_Engine_Info_Wayland_Egl *einfo;
|
||||
Ecore_Evas_Engine_Wl_Data *wdata;
|
||||
|
||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||
|
||||
if (!ee) return;
|
||||
if ((ee->transparent == transparent)) return;
|
||||
ee->transparent = transparent;
|
||||
|
||||
wdata = ee->engine.data;
|
||||
if (wdata->win)
|
||||
ecore_wl_window_transparent_set(wdata->win, transparent);
|
||||
|
||||
if (!ee->visible) return;
|
||||
if ((einfo = (Evas_Engine_Info_Wayland_Egl *)evas_engine_info_get(ee->evas)))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue