summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-11 15:50:23 -0400
committerSangHyeon Jade Lee <sh10233.lee@samsung.com>2018-07-12 11:34:48 +0900
commite6150da6f356c0e98e061eb44f97d685d8011950 (patch)
treefae353ac593172276492c51847db06e8a70f66ab
parentcea9d774124086763c8a183d499a88a1931eed6b (diff)
downloadefl-e6150da6f356c0e98e061eb44f97d685d8011950.tar.gz
elm/win: don't force opaque bg if alpha is set
Summary: alpha prevents an opaque bg, so ensure that this is being correctly detected worth noting here is that the eo api for win calls through _elm_win_standard_init() during finalize which ensures that need_bg_solid is set; the legacy api does not call this during "normal" construction fix T7129 Depends on D6568 Reviewers: devilhorns Subscribers: cedric, #committers Tags: #efl Maniphest Tasks: T7129 Differential Revision: https://phab.enlightenment.org/D6569
-rw-r--r--src/lib/elementary/efl_ui_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index c753e76675..c62559d1bd 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -4627,7 +4627,7 @@ _elm_win_frame_style_update(Efl_Ui_Win_Data *sd, Eina_Bool force_emit, Eina_Bool
else
#endif
focus = ecore_evas_focus_get(sd->ee);
- bg_solid = sd->csd.need_bg_solid;
+ bg_solid = sd->csd.need_bg_solid && (!alpha);
bg_standard = sd->csd.need_bg_standard;
unresizable = sd->csd.need_unresizable;
menu = sd->csd.need_menu;