e_xdg_shell_v6: change commit handler event to surface commit hook 36/276436/2 accepted/tizen/unified/20220620.030233 submit/tizen/20220617.064720
authorJunseok Kim <juns.kim@samsung.com>
Tue, 14 Jun 2022 23:36:13 +0000 (08:36 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Fri, 17 Jun 2022 01:09:46 +0000 (01:09 +0000)
commit0ba641efe612c6c0ebbf0947a5faa39470f6563c
treed0bb0bbb09f047b5a3794387abfedab4e477c324
parent12b5d8cff6f73f651b9bc6c8e5c222a8ff1aa964
e_xdg_shell_v6: change commit handler event to surface commit hook

Change the target event of the surface commit handler from E_EVENT_CLIENT_BUFFER_CHANGE to E_COMP_WL_HOOK_CLIENT_SURFACE_COMMIT.
Previously, because more weight was placed on the buffer, even when the surface commit came,
the xdg surface information was processed only when the buffer attach had occurred before.

However, according to the spec, it is supposed to be processed when a commit comes.
To match this, the target event has been changed to hook that E_COMP_WL_HOOK_CLIENT_SURFACE_COMMIT, which is generated when a commit comes.

Change-Id: I515802229fabfa8ba3a84c70b457e16f1b767ed2
src/bin/e_xdg_shell_v6.c