forked from enlightenment/efl
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.
This commit is contained in:
parent
839a737a62
commit
6aa11cf89d
|
@ -136,6 +136,8 @@ ecore_wl_window_move(Ecore_Wl_Window *win, int x, int y)
|
||||||
|
|
||||||
if (!win) return;
|
if (!win) return;
|
||||||
|
|
||||||
|
win->moving = EINA_TRUE;
|
||||||
|
|
||||||
ecore_wl_window_update_location(win, x, y);
|
ecore_wl_window_update_location(win, x, y);
|
||||||
|
|
||||||
if (win->shell_surface)
|
if (win->shell_surface)
|
||||||
|
|
|
@ -1391,10 +1391,7 @@ _ecore_evas_wayland_move(Ecore_Evas *ee, int x, int y)
|
||||||
{
|
{
|
||||||
wdata = ee->engine.data;
|
wdata = ee->engine.data;
|
||||||
if (wdata->win)
|
if (wdata->win)
|
||||||
{
|
ecore_wl_window_move(wdata->win, x, y);
|
||||||
wdata->win->moving = EINA_TRUE;
|
|
||||||
ecore_wl_window_move(wdata->win, x, y);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue