ecore/wayland: Set win->resizing flag inside ecore_wl_resize().
authorRafael Antognolli <rafael.antognolli@intel.com>
Fri, 1 Nov 2013 17:51:14 +0000 (15:51 -0200)
committerRafael Antognolli <rafael.antognolli@intel.com>
Fri, 1 Nov 2013 17:51:14 +0000 (15:51 -0200)
src/lib/ecore_wayland/ecore_wl_window.c
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_egl.c
src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_shm.c

index fc71053..99463da 100644 (file)
@@ -167,6 +167,7 @@ ecore_wl_window_resize(Ecore_Wl_Window *win, int w, int h, int location)
 
    if (!win) return;
 
+   win->resizing = EINA_TRUE;
    ecore_wl_window_update_size(win, w, h);
 
    if (win->shell_surface)
index 4e32009..442937d 100644 (file)
@@ -524,7 +524,6 @@ _ecore_evas_wayland_egl_resize(Ecore_Evas *ee, int location)
      {
         int fw, fh;
 
-        wdata->win->resizing = EINA_TRUE;
         evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh);
 
         if ((ee->rotation == 0) || (ee->rotation == 180))
index 2e3a352..cfdd33c 100644 (file)
@@ -521,7 +521,6 @@ _ecore_evas_wayland_shm_resize(Ecore_Evas *ee, int location)
      {
         int fw, fh;
 
-        wdata->win->resizing = EINA_TRUE;
         evas_output_framespace_get(ee->evas, NULL, NULL, &fw, &fh);
 
         if ((ee->rotation == 90) || (ee->rotation == 270))