From 80e4ffddbbcd4fd6be92c5855af5e646b30be470 Mon Sep 17 00:00:00 2001 From: Seunghun Lee Date: Tue, 22 Sep 2020 14:08:38 +0900 Subject: [PATCH] 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 --- src/bin/e_comp_wl_subsurface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.34.1