win: Set proper flag when EDC specifies win "alpha"

This commit is contained in:
Jean-Philippe Andre 2016-07-15 18:39:13 +09:00
parent cfaf332468
commit f13b0a4d5f
1 changed files with 2 additions and 2 deletions

View File

@ -5635,7 +5635,7 @@ _elm_win_theme_internal(Eo *obj, Efl_Ui_Win_Data *sd)
if (!ret) int_ret = ELM_THEME_APPLY_FAILED;
if (!sd->theme_alpha && !sd->application_alpha)
if (!sd->theme_alpha)
{
s = edje_object_data_get(sd->edje, "alpha");
if (s)
@ -5643,7 +5643,7 @@ _elm_win_theme_internal(Eo *obj, Efl_Ui_Win_Data *sd)
if (!strcmp(s, "1") ||
!strcmp(s, "true"))
{
sd->application_alpha = 1;
sd->theme_alpha = 1;
_elm_win_apply_alpha(obj, sd);
}
}