From: Juyeon Lee Date: Fri, 22 Dec 2017 08:22:37 +0000 (+0900) Subject: Revert "ecore_wl2: add ecore_wl2_window_update_size()" X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~651 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1250117b2001082bb5b247f240decfa0c6269fdf;p=platform%2Fupstream%2Fefl.git Revert "ecore_wl2: add ecore_wl2_window_update_size()" This reverts commit 5e1691ddb179529993293038b21156bca319d5b4. Change-Id: Ida450f3441da6719fe7d7b9c9eec0417e187ec1c --- diff --git a/src/lib/ecore_wl2/ecore_wl2_window.c b/src/lib/ecore_wl2/ecore_wl2_window.c index b62d916..1bb26d6 100644 --- a/src/lib/ecore_wl2/ecore_wl2_window.c +++ b/src/lib/ecore_wl2/ecore_wl2_window.c @@ -3017,21 +3017,3 @@ ecore_wl2_window_cursor_default_restore(Ecore_Wl2_Window *win) ecore_wl2_input_cursor_default_restore(input); } // - -EAPI void -ecore_wl2_window_update_size(Ecore_Wl2_Window *win, int w, int h) -{ - if (!win) return; - win->configured.w = w; - win->configured.h = h; - win->configured.edges = 0; - if ((!ecore_wl2_window_maximized_get(win)) && (!win->fullscreen)) - { - win->saved.w = w; - win->saved.h = h; - } - - if (win->zxdg_toplevel) - zxdg_surface_v6_set_window_geometry(win->zxdg_surface, win->configured.x, win->configured.y, w, h); -} -