surface: Simplify ds_surface_is_ancestor_of() 97/295797/2
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 13 Jul 2023 08:02:08 +0000 (17:02 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Fri, 14 Jul 2023 01:35:14 +0000 (01:35 +0000)
commitbe027f76cca6e0041da3da96d7e6b8fdd2c717a8
treed18737a4ce6be43a3ee003283d37cd9244cedf65
parent440278e9d70551296fccab1ab3a5b3c2ee4d4c2f
surface: Simplify ds_surface_is_ancestor_of()

This also moves the surface_is_ancestor_of() to private header.

Change-Id: Ie099d68b2bff1b5786d0440809197b0327f8667f
src/compositor/compositor_private.h
src/compositor/subsurface.c
src/compositor/surface.c
src/surface.h