subsurface: Calculate global coordinates with all ancestors 52/309152/1
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 3 Apr 2024 06:18:15 +0000 (15:18 +0900)
committerSeunghun Lee <shiin.lee@samsung.com>
Fri, 5 Apr 2024 06:46:17 +0000 (15:46 +0900)
commit9987881d8f9ecd8beb002201f63dc4bb4d8108f2
tree22d41de811ecdc7715c0a83b13e51b3c680b7eab
parent459c6dc72802e0a80e67c2fa4141556b399291db
subsurface: Calculate global coordinates with all ancestors

The 'x' and 'y' member variables of E_Client for a subsurface are only
updated when its subsurface position needs to be updated. In other
words, if there's no update made on the position using
wl_subsurface.set_position, they would remain at their default values,
which are zero.

Therefore, we need to consider calculating the global coordinates of the
subsurface considering the positions of all its ancestors.

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