summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Lees <sflees@suse.de>2016-07-18 15:44:44 +0930
committerSimon Lees <sflees@suse.de>2016-07-18 15:44:44 +0930
commit864f957df9d26e262fad67bb6ed7387c920c06d5 (patch)
tree6417ce860eab1c68ab90785b363eecb0159207fd
parent44266e7aa9c6e261864c4872a2850e1ad636d5b0 (diff)
win: Set proper flag when EDC specifies win "alpha"
Backport based of jpeg's commit f13b0a4d5f898c9d703b8790027b3bfa1af73f1a
-rw-r--r--src/lib/elm_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index ad009b064..7ae5efd11 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)
5383 eo_do(obj, eo_event_callback_call(ELM_WIN_EVENT_THEME_CHANGED, NULL)); 5383 eo_do(obj, eo_event_callback_call(ELM_WIN_EVENT_THEME_CHANGED, NULL));
5384 eo_do(obj, ret = elm_obj_widget_disable()); 5384 eo_do(obj, ret = elm_obj_widget_disable());
5385 5385
5386 if (!sd->theme_alpha && !sd->application_alpha) 5386 if (!sd->theme_alpha)
5387 { 5387 {
5388 s = edje_object_data_get(sd->edje, "alpha"); 5388 s = edje_object_data_get(sd->edje, "alpha");
5389 if (s) 5389 if (s)
@@ -5391,7 +5391,7 @@ _elm_win_theme_internal(Eo *obj, Elm_Win_Data *sd)
5391 if (!strcmp(s, "1") || 5391 if (!strcmp(s, "1") ||
5392 !strcmp(s, "true")) 5392 !strcmp(s, "true"))
5393 { 5393 {
5394 sd->application_alpha = 1; 5394 sd->theme_alpha = 1;
5395 _elm_win_apply_alpha(obj, sd); 5395 _elm_win_apply_alpha(obj, sd);
5396 } 5396 }
5397 } 5397 }