ecore_wl2_window: add code to handle pending min/max size 77/302777/1 accepted/tizen/unified/20231214.164940
authorDoyoun Kang <doyoun.kang@samsung.com>
Wed, 13 Dec 2023 09:33:51 +0000 (18:33 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Wed, 13 Dec 2023 09:34:03 +0000 (18:34 +0900)
commitf612e318a4507d764fe1ccf03a1325bdfe128cc8
treeec8c60e24bf37bbdbd03ee27dd218db274245e4c
parent8bc8445051593dde109e60c78762ef0c9543715f
ecore_wl2_window: add code to handle pending min/max size

There was a bug that the minimum or maximum size didn't work when the user calls
ecore_wl2_window_minimum_size_set() before calling ecore_wl2_window_show().

So, we add a pending min/max size to resolve this issue.
If the xdg_toplevel or zxdg_toplevel is not created, then we save the min/max size.
And then, after creating zxdg_toplevel, we apply the pended min/max size to the window.

Change-Id: I2c9404db18f13afabd7c51e6d15935bd230e27a9
src/lib/ecore_wl2/ecore_wl2_private.h
src/lib/ecore_wl2/ecore_wl2_window.c