subsurface: Calculate global coordinates with all ancestors 40/309140/1
authorSeunghun Lee <shiin.lee@samsung.com>
Wed, 3 Apr 2024 06:18:15 +0000 (15:18 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 5 Apr 2024 06:01:41 +0000 (15:01 +0900)
commitb097827b4a42077136a41e13d832aa23bf1797c6
tree3248777f91a013018ca512729db78c918949ad95
parente515da6610023fe03065606c38cc3b113c69fcb6
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: I92b49e1ca5b90bd1ee4ef43a058b7495a39796aa
src/bin/e_comp_wl_subsurface.c