Revert "ecore_wl2: add ecore_wl2_window_update_size()"
authorJuyeon Lee <juyeonne.lee@samsung.com>
Fri, 22 Dec 2017 08:22:37 +0000 (17:22 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Wed, 27 Dec 2017 08:58:44 +0000 (17:58 +0900)
This reverts commit 5e1691ddb179529993293038b21156bca319d5b4.

Change-Id: Ida450f3441da6719fe7d7b9c9eec0417e187ec1c

src/lib/ecore_wl2/ecore_wl2_window.c

index b62d916..1bb26d6 100644 (file)
@@ -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);
-}
-