refactor code to handle sync_client_geometry_add 88/288588/1 accepted/tizen/unified/20230222.161452
authorDoyoun Kang <doyoun.kang@samsung.com>
Mon, 20 Feb 2023 01:59:46 +0000 (10:59 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Mon, 20 Feb 2023 07:10:09 +0000 (16:10 +0900)
commit4fa1f5bfa1a3dc651c2b0b8746c76a40e3765aa9
tree2accc7ab1323cc8e4114d525c1d940580924e840
parent5b507653854dfdbf51faa820c9b57c84b76b2052
refactor code to handle sync_client_geometry_add

There was a potential bug for handling tizen_position_set request if the ec is under
pending_geometry.
We refactored code handling sync_geometry_set to compare the buffer size not serial.
For this, if the tizen_position_set was called under pending geometry, then we called
e_comp_wl_commit_sync_client_geometry_add with size(0x0).
In this case, the client could not send the buffer chagne event for size(0x0), so the
tizen_position_set request remained not to handled.

To resolve this, we refactor the e_comp_wl_commit_sync_client_geometry_add function.

Change-Id: Ib36eec68b918a5ebacbb192037a9dc4a082137a0
src/bin/e_client.c
src/bin/e_client.h
src/bin/e_comp_wl.c
src/bin/e_comp_wl.h
src/bin/e_policy_wl.c