subsurface: Fix messed up stack order of sub-surface 47/256947/5 accepted/tizen/unified/20210420.090121 submit/tizen/20210420.022611
authorSeunghun Lee <chwila927@gmail.com>
Thu, 15 Apr 2021 07:09:06 +0000 (16:09 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 19 Apr 2021 08:46:00 +0000 (08:46 +0000)
commitd1e43082eab6d58ae29fb1feb30a7d73c9aa954f
tree6e584e1e755d2fba2807dfae7e53cd8b75e5a405
parent70eca699fee13099ec3231f362041a7ec957423d
subsurface: Fix messed up stack order of sub-surface

The stack order of sub-surface sometimes got messed up when re-stacking
main surfaces.

Thinking of the case as an example that placing a surface underneath
another surface that has sub-surfaces, it obviously wasn't enough to
re-arrange sub-surfaces stack order only for E_Client given by restack
callback function.

This patch fixes it by updating stack order not only for given E_Client,
but also for E_Clients neighbored with given E_Client.

Change-Id: I95f11c9998ed4f1729e7ca3583a4f41f5dc4edf8
src/bin/e_comp_wl_subsurface.c