summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2018-07-11 15:50:23 -0400
committerChris Michael <cp.michael@samsung.com>2018-07-11 15:50:23 -0400
commit4951c8b1e6a865f129d8ffc3c382d2d9560b150d (patch)
tree87fd894c579311f72383611465dcadfe14a0ea42
parent0f4bbb7df6b3d19ce4b87af8b02657f8ce8fc482 (diff)
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
4627 else 4627 else
4628#endif 4628#endif
4629 focus = ecore_evas_focus_get(sd->ee); 4629 focus = ecore_evas_focus_get(sd->ee);
4630 bg_solid = sd->csd.need_bg_solid; 4630 bg_solid = sd->csd.need_bg_solid && (!alpha);
4631 bg_standard = sd->csd.need_bg_standard; 4631 bg_standard = sd->csd.need_bg_standard;
4632 unresizable = sd->csd.need_unresizable; 4632 unresizable = sd->csd.need_unresizable;
4633 menu = sd->csd.need_menu; 4633 menu = sd->csd.need_menu;