From: Junseok Kim Date: Tue, 2 Apr 2024 10:54:45 +0000 (+0900) Subject: e_client: Correct the order of the newly visible E_Client X-Git-Tag: accepted/tizen/7.0/unified/20240403.012847~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d5355f3943cfb00ce19454840abf140e8be8c843;p=platform%2Fupstream%2Fenlightenment.git e_client: Correct the order of the newly visible E_Client When adding a newly visible "EC" to the focus history, add it after the client that has higher layer. Change-Id: I3839dcb2cf6eedfbfced998f593bcfbcdd22cd98 --- diff --git a/src/bin/e_client.c b/src/bin/e_client.c index 28a1edced7..6a01de9406 100644 --- a/src/bin/e_client.c +++ b/src/bin/e_client.c @@ -5850,6 +5850,7 @@ e_client_focus_stack_append_current_focused(E_Client *ec) EINA_LIST_FOREACH(focus_stack, l, temp_ec) { if (temp_ec != focused) continue; + if (temp_ec->layer > ec->layer) continue; focus_stack = eina_list_append_relative_list(focus_stack, ec, l); return;