e_comp_wl_subsurface: 'below_obj' has to be deleted if it was created before subsurface. 08/209308/1 accepted/tizen/unified/20190705.110745 submit/tizen/20190704.234143
authorSeunghun Lee <shiin.lee@samsung.com>
Thu, 4 Jul 2019 05:53:18 +0000 (14:53 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Thu, 4 Jul 2019 21:34:40 +0000 (06:34 +0900)
commitca239ae8ab655db7e9bf834bca32383950d4ab30
tree968480a3dfc24b173c830c257cce8e7aeaf73dba
parent6582c8afe178b1183b61a884c8910fc2ac4462cc
e_comp_wl_subsurface: 'below_obj' has to be deleted if it was created before subsurface.

If 'below_obj' for 'E_Client' was created before it becomes subsurface,
then 'below_obj' has to be deleted.
Otherwise, it will cause undefined behavior.

Since 'below_obj' is to fill the background of toplevel surface which
wants to show opaque UI but submit buffers that has alpha channel for
overlay video, 'below_obj' obviously isn't for subsurface.

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