subsurface: Destroy after destruction of parent surface 41/294241/1
authorSeunghun Lee <shiin.lee@samsung.com>
Fri, 28 Apr 2023 05:06:33 +0000 (14:06 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Thu, 15 Jun 2023 01:53:42 +0000 (10:53 +0900)
commit98ebe2feee9e2c475bcfba9a98e86d2108b98fcd
tree127a832c6824e18514ba2f06fbebb49ad1a51eee
parent696eebccddc7591086560319d2d3b670a1eceeb8
subsurface: Destroy after destruction of parent surface

A subsurface will be destroyed after its parent surface because the
subsurface becomes inert when its parent is destroyed.
Thus, we can make sure that a subsurface always has a valid parent.

Change-Id: I50ac03e9e3e7bd4373a2f028d89697d597016889
src/compositor/subsurface.c