From: Doyoun Kang Date: Wed, 3 Feb 2021 04:56:28 +0000 (+0900) Subject: ecore_wl2_window: update window's saved size in ecore_wl2_window_commit X-Git-Tag: accepted/tizen/unified/20210208.061652~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b866e32248bc9d9ecb49e183758fb0e4713b53bc;p=platform%2Fupstream%2Fefl.git 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 --- 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);