subsurface: fix changing stack order of sub-surface with its parent. 40/246940/3
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 5 Nov 2020 07:47:49 +0000 (16:47 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Mon, 9 Nov 2020 02:49:38 +0000 (11:49 +0900)
commit2e37668bbe7f047e135123dc0eb23f959f4f4777
treeb319ef838cb38aa4037bac98cfdecd15fdc2c6f0
parent80e4ffddbbcd4fd6be92c5855af5e646b30be470
subsurface: fix changing stack order of sub-surface with its parent.

Sub-surface can be placed above or below of its parent by passing its
sub-surface with its parent as arguments to
wl_subsurface_place_above/below according to wl_subsurface description.

However, until now enlightenment seems not to have been supported this
operation correctly. In other words, enlightenment wasn't able to handle
stacking order of sub-surface in case wl_subsurface_place_above/below is
required with a parent of sub-surface.
This patch corrects it.

Change-Id: Icd65bf1759f1c7a3b950f6c9c222a41c9817a8ae
src/bin/e_comp_wl_subsurface.c
src/bin/e_policy_wl.c