antognolli pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=6aa11cf89d305da10058edfade3e463cdaae9a2d
commit 6aa11cf89d305da10058edfade3e463cdaae9a2d Author: Rafael Antognolli <rafael.antogno...@intel.com> Date: Fri Nov 1 14:33:54 2013 -0200 ecore/wayland: Set win->moving from inside ecore_wayland. We can set it from the ecore_wl_window_move() function, instead of directly changing the attribute. --- src/lib/ecore_wayland/ecore_wl_window.c | 2 ++ src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c | 5 +---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/lib/ecore_wayland/ecore_wl_window.c b/src/lib/ecore_wayland/ecore_wl_window.c index 97508e2..fc71053 100644 --- a/src/lib/ecore_wayland/ecore_wl_window.c +++ b/src/lib/ecore_wayland/ecore_wl_window.c @@ -136,6 +136,8 @@ ecore_wl_window_move(Ecore_Wl_Window *win, int x, int y) if (!win) return; + win->moving = EINA_TRUE; + ecore_wl_window_update_location(win, x, y); if (win->shell_surface) diff --git a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c index 4aa27df..172cafe 100644 --- a/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c +++ b/src/modules/ecore_evas/engines/wayland/ecore_evas_wayland_common.c @@ -1391,10 +1391,7 @@ _ecore_evas_wayland_move(Ecore_Evas *ee, int x, int y) { wdata = ee->engine.data; if (wdata->win) - { - wdata->win->moving = EINA_TRUE; - ecore_wl_window_move(wdata->win, x, y); - } + ecore_wl_window_move(wdata->win, x, y); } } --