From: Seunghun Lee Date: Mon, 31 Aug 2020 11:37:17 +0000 (+0900) Subject: subsurface: Do not create below bg rectangle for argb window. X-Git-Tag: submit/tizen/20200901.021435~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8943e7510a4eb1b4f4c37d01a37983120eb38a10;p=platform%2Fupstream%2Fenlightenment.git subsurface: Do not create below bg rectangle for argb window. This fixes a bug creating and destroying below bg rectangle repeatedly. Change-Id: Ibd310e88daaeb230872812a63b3d762ef4326a36 --- diff --git a/src/bin/e_comp_wl_subsurface.c b/src/bin/e_comp_wl_subsurface.c index 81825efd3a..985b0ebbd4 100644 --- a/src/bin/e_comp_wl_subsurface.c +++ b/src/bin/e_comp_wl_subsurface.c @@ -202,9 +202,10 @@ _e_comp_wl_subsurface_check_below_bg_rectangle(E_Client *ec) } else { - if ((topmost->comp_data->sub.below_list) || - (topmost->comp_data->sub.below_list_pending) || - (_e_comp_wl_subsurface_video_has(topmost))) + if ((!topmost->argb) && + ((topmost->comp_data->sub.below_list) || + (topmost->comp_data->sub.below_list_pending) || + (_e_comp_wl_subsurface_video_has(topmost)))) { ELOGF("COMP", "it has below subsurfaces and video.", topmost); _e_comp_wl_subsurface_below_obj_create(topmost);