subsurface: Fix subsurface stack order error 84/295984/1
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 31 May 2023 00:22:26 +0000 (09:22 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Tue, 18 Jul 2023 04:40:27 +0000 (13:40 +0900)
commit55b5317fdc812b1c37d6809a20ddd1e818a37dc7
tree0c8fd0a93b230f99d227307bb9c6bad284e8d772
parentc230f5fe4f43b2b7701c0de61d6388f1259dc979
subsurface: Fix subsurface stack order error

Let's say there are two windows. One consists of a main surface and two
sub-surfaces placing above and below of the main surface each. The other
one consists of a main surface and a sub-surface placing above of the
main surface. Let's call these windows A and B in order.

The problem is that if the main surface of A window is restacked above
of the main surface of B window, the A window ended up placing between
the B's sub-surface and the main surface of B. This patch is to fix this
error.

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