e_xdg_shell: modify code to remove oldest configure resource 80/279080/1 accepted/tizen/unified/20220802.144807 submit/tizen/20220802.023045
authorDoyoun Kang <doyoun.kang@samsung.com>
Tue, 2 Aug 2022 01:25:03 +0000 (10:25 +0900)
committerJunseok Kim <juns.kim@samsung.com>
Tue, 2 Aug 2022 02:24:04 +0000 (11:24 +0900)
commit89dbffa585e6fae8e3eb1bc9aaabfa227ee50620
tree0a40d3a8e8a7f0e8eb17405ecc6806f269cb6a9b
parentab9f22abc0f64b1fbe932d5a3daa862df2d0f451
e_xdg_shell: modify code to remove oldest configure resource

There is a possibility that the size of the configure resource is increased continuously
if an app doesn't send configure_ack reqeust after it get the configure event.
To prevent continuous resource size increase, we remove the oldest configure resource
from the waiting configure_ack list if the number of list exceeds a specific number.

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