forked from enlightenment/efl
win: Set proper flag when EDC specifies win "alpha"
This commit is contained in:
parent
cfaf332468
commit
f13b0a4d5f
|
@ -5635,7 +5635,7 @@ _elm_win_theme_internal(Eo *obj, Efl_Ui_Win_Data *sd)
|
||||||
|
|
||||||
if (!ret) int_ret = ELM_THEME_APPLY_FAILED;
|
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");
|
s = edje_object_data_get(sd->edje, "alpha");
|
||||||
if (s)
|
if (s)
|
||||||
|
@ -5643,7 +5643,7 @@ _elm_win_theme_internal(Eo *obj, Efl_Ui_Win_Data *sd)
|
||||||
if (!strcmp(s, "1") ||
|
if (!strcmp(s, "1") ||
|
||||||
!strcmp(s, "true"))
|
!strcmp(s, "true"))
|
||||||
{
|
{
|
||||||
sd->application_alpha = 1;
|
sd->theme_alpha = 1;
|
||||||
_elm_win_apply_alpha(obj, sd);
|
_elm_win_apply_alpha(obj, sd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue