From 4951c8b1e6a865f129d8ffc3c382d2d9560b150d Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Wed, 11 Jul 2018 15:50:23 -0400 Subject: [PATCH] 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 --- src/lib/elementary/efl_ui_win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;