devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=8959a9a8bb0b855eea2b5061a46452f285c74ef3
commit 8959a9a8bb0b855eea2b5061a46452f285c74ef3 Author: Chris Michael <[email protected]> Date: Mon Oct 12 11:02:50 2015 -0400 elementary: Fix calling ecore_evas_wayland_move with improper values Summary: As ecore_evas_wayland_move ends up updating the location of the ecore_wl_window, we should be calling move with the proper geometry as this ends up updating the internal ecore_wl_window geometry (which in turn sends to xdg_surface_set_window_geometry). This is part of a fix where xdg_surface_set_window_geometry was getting sent inproper values. @fix Signed-off-by: Chris Michael <[email protected]> --- src/lib/elm_win.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index 65388e3..6250cf9 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -2619,6 +2619,8 @@ _elm_win_frame_cb_move_start(void *data, const char *sig EINA_UNUSED, const char *source) { + int ox, oy; + ELM_WIN_DATA_GET(data, sd); if (!sd) return; @@ -2638,7 +2640,9 @@ _elm_win_frame_cb_move_start(void *data, * position. The new position will get updated automatically when * the move is finished */ - ecore_evas_wayland_move(sd->ee, sd->screen.x, sd->screen.y); + edje_object_part_geometry_get(sd->frame_obj, "elm.spacer.opaque", + &ox, &oy, NULL, NULL); + ecore_evas_wayland_move(sd->ee, ox, oy); } static void --
