forked from enlightenment/efl
ecore wayland: fix a regression bug of wayland_transparent_get().
Summary:
wayland transparent func was replaced with alpha's.
By this, transparent common attribute is no more valid,
ecore_evas_transparent_get() doesn't work.
This is a regression bug by 5af84afced
Reviewers: ManMower, devilhorns
Reviewed By: ManMower, devilhorns
Subscribers: cedric, #reviewers, #committers, zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6856
This commit is contained in:
parent
364ca1d2b2
commit
6010d3e8c5
|
@ -1899,12 +1899,13 @@ _ecore_evas_wayland_alpha_do(Ecore_Evas *ee, int alpha)
|
||||||
if (!ee) return;
|
if (!ee) return;
|
||||||
if (ee->alpha == alpha) return;
|
if (ee->alpha == alpha) return;
|
||||||
|
|
||||||
|
/* alpha used for transparent as well.
|
||||||
|
ecore_evas_transparent_get() must be valid. */
|
||||||
|
ee->transparent = ee->alpha = alpha;
|
||||||
|
|
||||||
wdata = ee->engine.data;
|
wdata = ee->engine.data;
|
||||||
if (!wdata->sync_done)
|
if (!wdata->sync_done) return;
|
||||||
{
|
|
||||||
ee->alpha = alpha;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
_ecore_evas_wayland_window_update(ee, wdata, alpha);
|
_ecore_evas_wayland_window_update(ee, wdata, alpha);
|
||||||
|
|
||||||
_ecore_evas_wl_common_wm_rotation_protocol_set(ee);
|
_ecore_evas_wl_common_wm_rotation_protocol_set(ee);
|
||||||
|
|
Loading…
Reference in New Issue