e_policy_stack: added code to check transient_for below order 11/267511/1
authorJunseok, Kim <juns.kim@samsung.com>
Mon, 6 Dec 2021 10:05:00 +0000 (19:05 +0900)
committerJunseok, Kim <juns.kim@samsung.com>
Mon, 6 Dec 2021 10:05:03 +0000 (19:05 +0900)
commit079652eaab3795b4264775f6ca7846f018416665
treedf8b56a468d1f98d296dd074278cfbff768d5d74
parent6b2e5254c7c3bd52ebf3d5a2cf394c80d083ee13
e_policy_stack: added code to check transient_for below order

There was a bug that the transient_for_below children stack was incorrect.

when there're child A and B(the child A was created first),
and client request transient_for_below B and A to parent.
then, the expected stack is [top] - Parent - B - A - [bottom]
but actual stack is [top] - Parent - A - B - [bottom]

This issue caused by the fetching order of child window.
To fix this issue, this patch makes check transient_for_below order when fetching transient_for.

This patch is similar with commit 40a650f

Change-Id: I711ec30fed00d3ae8f6ff77b70cceae7ac2e49de
src/bin/e_policy_stack.c