subsurface: Add a function for getting parent of sub-surface 73/260273/1
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 23 Jun 2021 01:53:24 +0000 (10:53 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Wed, 23 Jun 2021 04:50:17 +0000 (13:50 +0900)
commit790fee54df0cead13ff0c17c7fd21c2ddae6302d
tree7e5063a69520fd369725effd711f8f84800e41a2
parent068b7026bb3575bff716ecce09886385c2800a13
subsurface: Add a function for getting parent of sub-surface

To get a parent of sub-surface without accessing particular sub-surface
data, this adds e_comp_wl_subsurface_panret_get() function. This should
also help with readability.

As the name implies, this should be called with a E_Client associated
with sub-surface instance, but it will be okay to be called with
not sub-surface instance. In that case, it will just return NULL.

Change-Id: I08f340424b46fdb54141fa41747ba55ad2ae6875
13 files changed:
src/bin/e_client.c
src/bin/e_comp_wl.c
src/bin/e_comp_wl_rsm.c
src/bin/e_comp_wl_subsurface.c
src/bin/e_comp_wl_subsurface.h
src/bin/e_comp_wl_viewport.c
src/bin/e_eom.c
src/bin/e_hwc_window.c
src/bin/e_info_server.c
src/bin/e_policy_wl.c
src/bin/e_process.c
src/bin/video/e_client_video.c
src/bin/video/iface/e_video_hwc.c