win: Set proper flag when EDC specifies win "alpha"
authorJean-Philippe Andre <jp.andre@samsung.com>
Fri, 15 Jul 2016 09:39:13 +0000 (18:39 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Mon, 18 Jul 2016 01:51:51 +0000 (10:51 +0900)
src/lib/elementary/efl_ui_win.c

index a27d3b2..9ebe84e 100644 (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);
                }
           }