From: Seunghun Lee Date: Fri, 15 Feb 2019 02:27:25 +0000 (+0900) Subject: e_comp_wl: Delete below background object if client want to change its opaque state... X-Git-Tag: submit/tizen/20190219.095209~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ead34bd393c5f85fcedad459cfe66cefeff3ae41;p=platform%2Fupstream%2Fenlightenment.git e_comp_wl: Delete below background object if client want to change its opaque state to alpha. Background object placed below should be removed when client changes its opaque state to alpha so that make other windows to be visible. Change-Id: Iaaab49fce8c7e10f63a87647fdb6650a88928753 --- diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c index 65be2dcc61..9604c78d10 100644 --- a/src/bin/e_comp_wl.c +++ b/src/bin/e_comp_wl.c @@ -3594,7 +3594,15 @@ _e_comp_wl_subsurface_check_below_bg_rectangle(E_Client *ec) return; } - if (ec->argb) return; + if (ec->argb) + { + if (ec->comp_data->sub.below_obj) + { + evas_object_del(ec->comp_data->sub.below_obj); + ec->comp_data->sub.below_obj = NULL; + } + return; + } if (ec->comp_data->sub.below_list || ec->comp_data->sub.below_list_pending ||