There was a bug that the transient child window placed under the parent when it set
transient_for. This bug was occured when the window set the transient_for(or parent) to
BELOW and then set the transient_for(or parent) ABOVE again.
So, we add the code that sets the transient policy whenever the window set the transient_for
(or parent).
Change-Id: Id209d92f4ffbaf9a64b1f59e3114e3c0bd6b9f3a
void
e_policy_stack_parent_set(E_Client *ec, E_Client *parent)
{
+ e_client_transient_policy_set(ec, E_TRANSIENT_ABOVE);
_e_policy_stack_transient_for_set(ec, parent, EINA_FALSE);
}
void
e_policy_stack_transient_for_set(E_Client *ec, E_Client *parent)
{
+ e_client_transient_policy_set(ec, E_TRANSIENT_ABOVE);
_e_policy_stack_transient_for_set(ec, parent, EINA_TRUE);
}