From: Seunghun Lee Date: Tue, 22 Sep 2020 05:08:38 +0000 (+0900) Subject: subsurface: fix not inserting subsurface to pending state first. X-Git-Tag: submit/tizen/20201109.083635~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F35%2F246935%2F3;p=platform%2Fupstream%2Fenlightenment.git subsurface: fix not inserting subsurface to pending state first. The z-order is double-buffered. So, subsurface has to be inserted to pending list first, not to active list. Change-Id: Id76563920c511f8321d11c3e44bdfd80fd605f62 --- diff --git a/src/bin/e_comp_wl_subsurface.c b/src/bin/e_comp_wl_subsurface.c index ab85fd25b2..572841655a 100644 --- a/src/bin/e_comp_wl_subsurface.c +++ b/src/bin/e_comp_wl_subsurface.c @@ -1037,8 +1037,8 @@ e_comp_wl_subsurface_create(E_Client *ec, E_Client *epc, uint32_t id, struct wl_ if (epc->comp_data) { /* append this client to the parents subsurface list */ - epc->comp_data->sub.list = - eina_list_append(epc->comp_data->sub.list, ec); + epc->comp_data->sub.list_pending = + eina_list_append(epc->comp_data->sub.list_pending, ec); epc->comp_data->sub.list_changed = EINA_TRUE; }