jaehyun pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=df216a4f1d9793f001fc48c56c3bbbc49aed97b4
commit df216a4f1d9793f001fc48c56c3bbbc49aed97b4 Author: Jaehyun Cho <jae_hyun....@samsung.com> Date: Wed Dec 5 10:35:30 2018 +0900 efl_ui_win: enable bg color set although alpha is set Summary: This patch sets background transparent if window supports alpha. If alpha window does not emit signal to show background rectangle, then the background color set by _efl_ui_win_part_color_set cannot be applied because the background rectangle remains hidden. This patch fixes the side effect of D6569. Test Plan: Run Efl.Ui.Win (Bg part) in elementary_test. Reviewers: zmike, devilhorns, woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7302 --- src/lib/elementary/efl_ui_win.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c index 535316119e..1e12b46702 100644 --- a/src/lib/elementary/efl_ui_win.c +++ b/src/lib/elementary/efl_ui_win.c @@ -4659,11 +4659,18 @@ _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 && (!alpha); bg_standard = sd->csd.need_bg_standard; unresizable = sd->csd.need_unresizable; menu = sd->csd.need_menu; indicator = sd->csd.need_indicator; + bg_solid = sd->csd.need_bg_solid; + /* Set background transparent if window supports alpha. + * If alpha window does not emit signal to show background rectangle, then + * the background color set by _efl_ui_win_part_color_set cannot be applied + * because the background rectangle remains hidden. + */ + if (alpha && bg_solid && !(sd->csd.cur_bg_solid)) + edje_object_color_class_set(sd->frame_obj, "elm/win/background", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); /* FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME FIXME * At the moment, E Wayland uses SSD for its internal windows. Which means --