From b866e32248bc9d9ecb49e183758fb0e4713b53bc Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Wed, 3 Feb 2021 13:56:28 +0900 Subject: [PATCH] ecore_wl2_window: update window's saved size in ecore_wl2_window_commit There was a bug that the window size was not changed after unsetting user geometry. @tizen_only Change-Id: Ia611b04ba57a29f891f95f6f9b9b03ef84a83bb9 --- src/lib/ecore_wl2/ecore_wl2_window.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c index 550c9f0..b9bf740 100644 --- a/src/lib/ecore_wl2/ecore_wl2_window.c +++ b/src/lib/ecore_wl2/ecore_wl2_window.c @@ -3346,6 +3346,11 @@ ecore_wl2_window_commit(Ecore_Wl2_Window *window, Eina_Bool flush) if (window->zxdg_surface) zxdg_surface_v6_set_window_geometry(window->zxdg_surface, gx, gy, gw, gh); + + // TIZEN_ONLY(20210203) : update window's saved size + window->saved.w = window->set_config.geometry.w; + window->saved.h = window->set_config.geometry.h; + // } if (window->pending.opaque || window->pending.input) _regions_set(window); -- 2.7.4