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:
Hermet Park 2018-08-17 11:30:20 -04:00 committed by Chris Michael
parent 364ca1d2b2
commit 6010d3e8c5
1 changed files with 6 additions and 5 deletions

View File

@ -1899,12 +1899,13 @@ _ecore_evas_wayland_alpha_do(Ecore_Evas *ee, int alpha)
if (!ee) 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;
if (!wdata->sync_done)
{
ee->alpha = alpha;
return;
}
if (!wdata->sync_done) return;
_ecore_evas_wayland_window_update(ee, wdata, alpha);
_ecore_evas_wl_common_wm_rotation_protocol_set(ee);