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 <cp.michael@samsung.com>
const char *sig EINA_UNUSED,
const char *source)
{
+ int ox, oy;
+
ELM_WIN_DATA_GET(data, sd);
if (!sd) return;
* 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