simotek pushed a commit to branch elementary-1.17.

http://git.enlightenment.org/core/elementary.git/commit/?id=864f957df9d26e262fad67bb6ed7387c920c06d5

commit 864f957df9d26e262fad67bb6ed7387c920c06d5
Author: Simon Lees <sfl...@suse.de>
Date:   Mon Jul 18 15:44:44 2016 +0930

    win: Set proper flag when EDC specifies win "alpha"
    
    Backport based of jpeg's commit f13b0a4d5f898c9d703b8790027b3bfa1af73f1a
---
 src/lib/elm_win.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index ad009b0..7ae5efd 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -5383,7 +5383,7 @@ _elm_win_theme_internal(Eo *obj, Elm_Win_Data *sd)
    eo_do(obj, eo_event_callback_call(ELM_WIN_EVENT_THEME_CHANGED, NULL));
    eo_do(obj, ret = elm_obj_widget_disable());
 
-   if (!sd->theme_alpha && !sd->application_alpha)
+   if (!sd->theme_alpha)
      {
         s = edje_object_data_get(sd->edje, "alpha");
         if (s)
@@ -5391,7 +5391,7 @@ _elm_win_theme_internal(Eo *obj, Elm_Win_Data *sd)
              if (!strcmp(s, "1") ||
                  !strcmp(s, "true"))
                {
-                  sd->application_alpha = 1;
+                  sd->theme_alpha = 1;
                   _elm_win_apply_alpha(obj, sd);
                }
           }

-- 


Reply via email to