elm/win: don't force opaque bg if alpha is set

Summary:
alpha prevents an opaque bg, so ensure that this is being correctly
detected

worth noting here is that the eo api for win calls through _elm_win_standard_init()
during finalize which ensures that need_bg_solid is set; the legacy api
does not call this during "normal" construction

fix T7129
Depends on D6568

Reviewers: devilhorns

Subscribers: cedric, #committers

Tags: #efl

Maniphest Tasks: T7129

Differential Revision: https://phab.enlightenment.org/D6569
This commit is contained in:
Mike Blumenkrantz 2018-07-11 15:50:23 -04:00 committed by Chris Michael
parent 0f4bbb7df6
commit 4951c8b1e6
1 changed files with 1 additions and 1 deletions

View File

@ -4627,7 +4627,7 @@ _elm_win_frame_style_update(Efl_Ui_Win_Data *sd, Eina_Bool force_emit, Eina_Bool
else
#endif
focus = ecore_evas_focus_get(sd->ee);
bg_solid = sd->csd.need_bg_solid;
bg_solid = sd->csd.need_bg_solid && (!alpha);
bg_standard = sd->csd.need_bg_standard;
unresizable = sd->csd.need_unresizable;
menu = sd->csd.need_menu;